Skip to content

Conversation

@elprans
Copy link
Member

@elprans elprans commented Sep 19, 2018

The behavior matches that of libpq. Multiple hosts can now be specified
in the DSN, e.g. postgres://host1,host2:5433. The host and port
arguments now also accept lists. Like libpq, asyncpg will select the
first host it can successfully connect to.

Closes: #257
Related: #352

@elprans elprans requested a review from 1st1 September 19, 2018 16:54
The behavior matches that of libpq.  Multiple hosts can now be specified
in the DSN, e.g. `postgres://host1,host2:5433`.  The `host` and `port`
arguments now also accept lists.  Like libpq, asyncpg will select the
first host it can successfully connect to.

Closes: #257
Related: #352
@elprans
Copy link
Member Author

elprans commented Oct 30, 2018

@1st1 Please review

@elprans elprans merged commit 1d650ed into master Oct 30, 2018
@elprans elprans deleted the multiple-hosts branch October 30, 2018 16:24
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 this pull request may close these issues.

2 participants