Skip to content

fix: skip pg-failover-slots for PostgreSQL 19 - #547

Merged
mnencia merged 2 commits into
mainfrom
fix/failover-slots-pg15-16-only
Nov 20, 2026
Merged

mnencia merged 2 commits into
mainfrom
fix/failover-slots-pg15-16-only

Conversation

@gbartolini

@gbartolini gbartolini commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The pg-failover-slots package is not available for PostgreSQL 19. Add an extensionsMaxMajor map to docker-bake.hcl so that an extension is only installed up to a given major, and cap pg-failover-slots at 18. It stays on 17 and 18 so that clusters that preload pg_failover_slots can upgrade in place.

Assisted-by: Claude

PostgreSQL 17 and later natively support failover slots, and the
pg-failover-slots package is not available for PostgreSQL 19. Add an
extensionsMaxMajor map to docker-bake.hcl so that an extension is only
installed up to a given major, and cap pg-failover-slots at 16.

Assisted-by: Claude

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
@gbartolini
gbartolini requested a review from a team as a code owner November 19, 2026 22:02
Raise the extensionsMaxMajor cap from 16 to 18. The package is only
missing for PostgreSQL 19. Keeping it on 17 and 18 lets clusters that
preload pg_failover_slots upgrade in place.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia changed the title fix: install pg-failover-slots only for PostgreSQL 15 and 16 fix: skip pg-failover-slots for PostgreSQL 19 Nov 20, 2026
@mnencia
mnencia merged commit ee9f704 into main Nov 20, 2026
46 checks passed
@mnencia
mnencia deleted the fix/failover-slots-pg15-16-only branch November 20, 2026 08:13
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.

3 participants