multiple postgresql hosts #1119
Unanswered
ryan-morris
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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