Skip to content

Commit 453a5f1

Browse files
Merge pull request #57 from rustprooflabs/more-pg17-support
Finalizing pg17 support
2 parents 5273edc + cb6afe3 commit 453a5f1

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
**/*.rs.bk
44
Cargo.lock
55
sql/*.generated.sql
6-
extension.dot
7-
extension.jpg
6+
pgdd.dot
7+
build/pgdd-binaries.tar.gz

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pgdd"
3-
version = "0.6.0-dev.0"
3+
version = "0.6.0"
44
edition = "2021"
55
description = "In-database (PostgreSQL) data dictionary providing database introspection via standard SQL query syntax."
66

build/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ LOGDIR=${BASE}/target/logs
2323
ARTIFACTDIR=${BASE}/target/artifacts
2424
PGRXVERSION=0.14.1
2525

26-
#PG_VERS=("pg13" "pg14" "pg15" "pg16" "pg17")
27-
PG_VERS=("pg17")
26+
PG_VERS=("pg13" "pg14" "pg15" "pg16" "pg17")
27+
#PG_VERS=("pg17")
2828

2929
echo $BASE
3030
echo $VERSION
@@ -36,7 +36,7 @@ mkdir -p ${LOGDIR}
3636
mkdir -p ${ARTIFACTDIR}
3737

3838

39-
for image in `ls docker/ | grep jammy ` ; do
39+
for image in `ls docker/ ` ; do
4040

4141
OS_DIST=$(echo ${image}|cut -f2 -d-)
4242
OS_VER=$(echo ${image}|cut -f3 -d-)

build/docker/pgdd-debian-postgis/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Uses the PostGIS image used by PgOSM Flex. At time of writing
22
# it was Debian 11 (bullseye)
3-
FROM postgis/postgis:16-3.4
3+
FROM postgis/postgis:17-3.5
44

55
LABEL maintainer="PgDD Project - https://github.com/rustprooflabs/pgdd"
66

@@ -27,11 +27,11 @@ RUN apt-get install -y --fix-missing \
2727
libldap-dev libkrb5-dev gettext tcl-tclreadline tcl-dev libperl-dev \
2828
libpython3-dev libprotobuf-c-dev libprotobuf-dev gcc \
2929
ruby ruby-dev rubygems \
30-
postgresql-12 postgresql-server-dev-12 \
3130
postgresql-13 postgresql-server-dev-13 \
3231
postgresql-14 postgresql-server-dev-14 \
3332
postgresql-15 postgresql-server-dev-15 \
3433
postgresql-16 postgresql-server-dev-16 \
34+
postgresql-17 postgresql-server-dev-17 \
3535
&& apt autoremove -y
3636

3737

build/docker/pgdd-ubuntu-lunar/Dockerfile renamed to build/docker/pgdd-ubuntu-noble/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ubuntu Lunar is an intermediate release of Ubuntu, not an LTS version.
22
# Non-LTS veresion are minimally supported until the next LTS version is released.
3-
FROM ubuntu:lunar
3+
FROM ubuntu:noble
44

55
LABEL maintainer="PgDD Project - https://github.com/rustprooflabs/pgdd"
66

@@ -28,11 +28,11 @@ RUN apt-get install -y --fix-missing \
2828
libldap-dev libkrb5-dev gettext tcl-tclreadline tcl-dev libperl-dev \
2929
libpython3-dev libprotobuf-c-dev libprotobuf-dev gcc \
3030
ruby ruby-dev rubygems \
31-
postgresql-12 postgresql-server-dev-12 \
3231
postgresql-13 postgresql-server-dev-13 \
3332
postgresql-14 postgresql-server-dev-14 \
3433
postgresql-15 postgresql-server-dev-15 \
3534
postgresql-16 postgresql-server-dev-16 \
35+
postgresql-17 postgresql-server-dev-17 \
3636
&& apt autoremove -y
3737

3838

build/pgdd-binaries.tar.gz

-195 KB
Binary file not shown.

docs/src/create-installer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ PG_VERS=("pg13" "pg14" "pg15" "pg16" "pg17")
7373
```
7474

7575

76-
To only build for Postgres on a single OS, add a `grep <osname` command to the
76+
To only build for Postgres on a single OS, add a `grep <osname>` command to the
7777
loop logic. The original file that runs for all OSs with Dockerfiles looks like
7878
the following line.
7979

@@ -201,7 +201,7 @@ sudo dpkg -i --force-overwrite ./pgdd.deb
201201
202202
```bash
203203
cargo pgrx schema -d pgdd.dot
204-
dot -Goverlap=prism -Gspline=ortho -Tjpg pgdd.dot > pgdd.jpg
204+
dot -Goverlap=prism -Gspline=ortho -Tjpg pgdd.dot > docs/src/pgdd.jpg
205205
```
206206
207207
![pgrx dependencies for pgdd](pgdd.jpg)

docs/src/pgdd.jpg

100 KB
Loading

pgdd.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
comment = 'An in-database data dictionary providing database introspection via standard SQL query syntax. Developed using pgx (https://github.com/pgcentralfoundation/pgrx).'
2-
default_version = '0.6.0-dev.0'
2+
default_version = '0.6.0'
33
module_pathname = '$libdir/pgdd'
44
relocatable = false
55
schema = dd

pgdd.jpg

-120 KB
Binary file not shown.

0 commit comments

Comments
 (0)