Repository navigation
fix: skip pg-failover-slots for PostgreSQL 19 - #547
Merged
Merged
Conversation
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>
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
approved these changes
Nov 20, 2026
leonardoce
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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