-
-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
Hey guys!
I'm using PGSync with a PostgreSQL cluster and would like to enable the native failover option when creating replication slots, which was introduced in PostgreSQL 17.
I also noticed a TODO in the codebase about not overriding existing slots:
def create_replication_slot(self, slot_name: str) -> None:
"""Create a replication slot.
TODO:
- Only create the replication slot if it does not exist
otherwise warn that it already exists and returnThis made me wonder: Is there currently an option to enable failover when creating slots? If not, is there a specific reason why PGSync doesn't expose this control to users? Are there concerns I'm not aware of?
Thank you for your help!
Metadata
Metadata
Assignees
Labels
No labels