You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to accomplish this with semaphore configuration where I can specify all the postgres hosts in a patroni cluster and have it connect to the current primary?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Many libpq based postgres drivers support specifying multiple hosts to enable failover etc. See docs
Example:
postgresql://host1:5432,host2:5432/semaphore?target_session_attrs=primary
Is there any way to accomplish this with semaphore configuration where I can specify all the postgres hosts in a patroni cluster and have it connect to the current primary?
Beta Was this translation helpful? Give feedback.
All reactions