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

DB failover mechanism #800

Open
rogierlommers opened this issue Oct 18, 2018 · 2 comments
Open

DB failover mechanism #800

rogierlommers opened this issue Oct 18, 2018 · 2 comments

Comments

@rogierlommers
Copy link

Hey people! I have a question; in the Java world, we can setup a connection like this: jdbc:postgresql://pro-das-db-001.domain.net:5437,pro-das-db-002.pro-db.domain.net:5437/das?targetServerType=master

If the 001 node will be down, the connection will automatically be reconnected to the 002 node. Now my question: is this posible through the various Go postgres packages? I can't find any information about this.

@lukedirtwalker
Copy link

@rogierlommers do you mean what is implemented in this PR: #714 ?
If so this issue is a duplicate of #683 I guess.

@jnicholls
Copy link

#683's PR #714 has been in limbo for 10 months. It needs a contributor to at least provide a cursory review and then I'd be happy to resubmit a new PR based on the feedback that won't be stonewalled again.

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

3 participants