Skip to content

feat(postgres): support PostgreSQL 19 client binaries and dev database - #161

Merged
RambokDev merged 1 commit into
mainfrom
feat/postgres-19-support
Nov 30, 2026
Merged

RambokDev merged 1 commit into
mainfrom
feat/postgres-19-support

Conversation

@RambokDev

@RambokDev RambokDev commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Added PostgreSQL 19 support for standard databases and clustered deployments.
    • Added a physical-incremental cluster configuration with a full backup every seven days.
    • PostgreSQL 19 is now available for physical backup and restore workflows.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds PostgreSQL 19 client binaries and test setup. It adds a PostgreSQL 19 database service, database and cluster test configurations, and a physical chain-restore round-trip test. The Dockerfile now discovers PostgreSQL client directories instead of using a fixed version list.

Changes: PostgreSQL 19 test support

Layer / File(s) Summary
PostgreSQL client installation
scripts/postgres/fetch-clients.sh, docker/Dockerfile
The fetch script adds version 19. The Dockerfile discovers PostgreSQL client directories and installs each directory’s binaries under its major-version path.
PostgreSQL 19 test setup
docker-compose.databases.yml, databases.json, src/tests/domain/cluster/physical.rs
The Compose configuration adds a PostgreSQL 19 service and volume. The database configurations add PostgreSQL 19 database, cluster, and physical-incremental cluster entries. A physical chain restore round-trip test runs against PostgreSQL 19.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Merge Risk: Minimal · up to 8d0c8

This change adds PostgreSQL 19 client binaries, a PostgreSQL 19 development database, and a physical chain-restore round-trip test. The existing version selection already supports major 19, so no merge-blocking risk is identified. Normal CI and a Docker image build should confirm the client install layout.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "feat(postgres): support PostgreSQL 19 client binaries and dev database" matches the main changes. The raw summary shows the Dockerfile and fetch-clients.sh now handle PostgreSQL 19 client b…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat(postgres): support PostgreSQL 19 client binaries and dev database" matches the main changes. The raw summary shows the Dockerfile and fetch-clients.sh now handle PostgreSQL 19 client binaries, and databases.json, docker-compose.databases.yml, and the physical.rs test add a PostgreSQL 19 dev database and test configurations. The title is specific and accurate, and it follows a conventional commit style.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

Clippy (1.99.1)

Clippy execution timed out
Clippy (1.99.1) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ceff705 and 8d0c8fd.

Files selected for processing: 43

  • assets/tools/amd64/postgresql/postgresql-19/bin/clusterdb
  • assets/tools/amd64/postgresql/postgresql-19/bin/createdb
  • assets/tools/amd64/postgresql/postgresql-19/bin/createuser
  • assets/tools/amd64/postgresql/postgresql-19/bin/dropdb
  • assets/tools/amd64/postgresql/postgresql-19/bin/dropuser
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_amcheck
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_basebackup
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_combinebackup
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_config
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_dump
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_dumpall
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_isready
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_receivewal
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_recvlogical
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_restore
  • assets/tools/amd64/postgresql/postgresql-19/bin/pg_verifybackup
  • assets/tools/amd64/postgresql/postgresql-19/bin/psql
  • assets/tools/amd64/postgresql/postgresql-19/bin/reindexdb
  • assets/tools/amd64/postgresql/postgresql-19/bin/vacuumdb
  • assets/tools/arm64/postgresql/postgresql-19/bin/clusterdb
  • assets/tools/arm64/postgresql/postgresql-19/bin/createdb
  • assets/tools/arm64/postgresql/postgresql-19/bin/createuser
  • assets/tools/arm64/postgresql/postgresql-19/bin/dropdb
  • assets/tools/arm64/postgresql/postgresql-19/bin/dropuser
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_amcheck
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_basebackup
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_combinebackup
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_config
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_dump
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_dumpall
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_isready
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_receivewal
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_recvlogical
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_restore
  • assets/tools/arm64/postgresql/postgresql-19/bin/pg_verifybackup
  • assets/tools/arm64/postgresql/postgresql-19/bin/psql
  • assets/tools/arm64/postgresql/postgresql-19/bin/reindexdb
  • assets/tools/arm64/postgresql/postgresql-19/bin/vacuumdb
  • databases.json
  • docker-compose.databases.yml
  • docker/Dockerfile
  • scripts/postgres/fetch-clients.sh
  • src/tests/domain/cluster/physical.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@RambokDev
RambokDev merged commit a1d3751 into main Nov 30, 2026
3 checks passed
@RambokDev
RambokDev deleted the feat/postgres-19-support branch November 30, 2026 10:26
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