Skip to content

Default PGVERSION to 18 - #65

Merged
teknogeek0 merged 1 commit into
mainfrom
chore/pgversion-18-default
Sep 28, 2026
Merged

teknogeek0 merged 1 commit into
mainfrom
chore/pgversion-18-default

Conversation

@teknogeek0

Copy link
Copy Markdown
Collaborator

The build image, the Makefile and every test suite defaulted to PostgreSQL 16 or 17. They now default to 18.

Twelve compose files built their source database from Dockerfile.pg but passed no build args, so the ARG default was the only value that applied and the source ignored the matrix. They now pass PGVERSION. The follow-wal2json and follow-target-reconnect source images carried a fixed tag, which let one version reuse another version's image; the tag now follows PGVERSION. The exclude-extension test hardcoded pgcopydb:pg16 and so failed on PG17 and PG18.

The published image now carries the PostgreSQL 18 pg_dump and pg_restore.

Tests

All 37 suites pass at PGVERSION=18. make build passes. citus_indent --check passes. All 38 compose files parse.

timescaledb is excluded. It is broken and commented out of the CI matrix; the same failure reproduces on an unchanged tree at PG16.

exclude-extension now passes. It was recorded as a pre-existing failure in #59 because of the hardcoded image. It is still absent from the CI matrix.

Tested at PG18 only. The twelve newly wired suites will run a PG16 and PG17 source in CI for the first time.

The build image, the Makefile and every test suite defaulted to
PostgreSQL 16 or 17. They now default to 18.

Twelve compose files built their source database from Dockerfile.pg but
passed no build args, so the ARG default was the only value that applied
and the source ignored the matrix. They now pass PGVERSION. The
follow-wal2json and follow-target-reconnect source images carried a fixed
tag, which let one version reuse another version's image; the tag now
follows PGVERSION. The exclude-extension test hardcoded pgcopydb:pg16 and
so failed on PG17 and PG18.

All 37 suites pass at PGVERSION=18. citus_indent --check passes. The
timescaledb suite is excluded; it is broken and disabled in CI.
@teknogeek0
teknogeek0 merged commit 977f4b3 into main Sep 28, 2026
111 checks passed
@teknogeek0
teknogeek0 deleted the chore/pgversion-18-default branch September 28, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants