Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for PG16 primary slot on hot standby #42

Open
maximvf opened this issue Jun 3, 2024 · 0 comments
Open

[Feature] Add support for PG16 primary slot on hot standby #42

maximvf opened this issue Jun 3, 2024 · 0 comments

Comments

@maximvf
Copy link

maximvf commented Jun 3, 2024

Case: a DBA uses new PG16 feature to configure logical replication from standby per 49.2.2. Replication Slots.

Problem: after the first failover or switchover the only replication slot is lost and subscriptions to standby are to be manually recreated.

Proposed solution: starting with PG16, copy and sync active/running slots from hot standby to other nodes. Destinations could be primary and/or other replicas by list.

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

No branches or pull requests

1 participant