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

add support for multiple hosts in connection settings (for feature parity with libpq) #683

Open
costela opened this issue Nov 28, 2017 · 1 comment · May be fixed by #714
Open

add support for multiple hosts in connection settings (for feature parity with libpq) #683

costela opened this issue Nov 28, 2017 · 1 comment · May be fixed by #714

Comments

@costela
Copy link

costela commented Nov 28, 2017

Hi,

It would be nice to support a couple of new (>=10) libpq features, namely multiple hosts support and RW/RO connection selector. Both features are somewhat codependent.

This would mean adding support in the connstring parsing and probably refactoring conn.errRecover to retry connections (taking a cursory look).

If there's no objection on principle, I would give it a try.

@costela costela linked a pull request Feb 12, 2018 that will close this issue
@costela
Copy link
Author

costela commented Mar 20, 2018

FYI: patch #714 has an attempt at adding this feature. I'd be grateful for reviews and/or testing.

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

Successfully merging a pull request may close this issue.

1 participant