Skip to content

ci: add PostgreSQL 19beta1 to build/test matrix, bump minor versions#363

Draft
sfc-gh-dachristensen wants to merge 3 commits into
mainfrom
add-pg19-ci
Draft

ci: add PostgreSQL 19beta1 to build/test matrix, bump minor versions#363
sfc-gh-dachristensen wants to merge 3 commits into
mainfrom
add-pg19-ci

Conversation

@sfc-gh-dachristensen
Copy link
Copy Markdown
Collaborator

Summary

  • Bump PG 16/17/18 minors to 16.14 / 17.10 / 18.4 in the dev container.
  • Add PG 19beta1 as a first-class target alongside 18 in the Dockerfile, CI
    matrices, install.sh, and docker docs/Taskfile.
  • Infra only — code-level fixes for PG 19 are deferred. Test failures will
    surface in CI and be addressed in follow-ups.

CI matrix changes

  • build-and-install-{almalinux,debian}: [16, 17, 18, 19]
  • test-check, test-check-pg-lake-table, test-isolation: [17, 18, 19]
  • test-installcheck-postgres: [16, 17, 18, 19]
  • test-upgrade: added pairs 17-19, 18-19, 16-19
  • test-installcheck and test-installcheck-pg-lake-table remain [16]

Note on 19beta1 availability

19beta1 has not yet been published on ftp.postgresql.org. Image builds for
PG 19 will 404 until upstream publishes; flip PG19_VERSION when it lands.

Test plan

  • CI green for PG 16/17/18 (no regressions from minor bumps)
  • Once 19beta1 tarball is published, rebuild dev container and triage
  • Spot-check ./install.sh --build-postgres --pg-version 19

Bumps PG 16/17/18 to latest minors (16.14, 17.10, 18.4) and wires PG 19beta1
into the Dockerfile, CI matrices, install.sh, and docker docs/Taskfile.
Code-level fixes for PG 19 are deliberately deferred; this commit just sets
up the infrastructure so failures surface in CI.

Note: 19beta1 is not yet published on ftp.postgresql.org as of this commit,
so PG 19 image builds will 404 until the upstream tarball lands.

Signed-off-by: David Christensen <david.christensen@snowflake.com>
The 19beta1 source tarball is not yet on ftp.postgresql.org, causing the
PG19 image build to 404. Switch the PG19 source in docker/Dockerfile to a
shallow git clone of postgres/postgres master and run autoconf before
./configure (the git tree ships no generated configure). Add autoconf to
the almalinux and debian dependency lists.

install.sh already builds PG19 from master via git, so this aligns the
docker build with the install script.

Signed-off-by: David Christensen <david.christensen@snowflake.com>
Oracle's /java/21/latest tarball just bumped past jdk-21.0.10, breaking
the debian image build with "cannot stat '/usr/lib/jvm/jdk-21.0.10'".
Read the top-level directory from the tarball instead of hardcoding the
patch version, so future bumps don't break the build.

Signed-off-by: David Christensen <david.christensen@snowflake.com>
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.

1 participant