Re: Proposal: Implement failover on libpq connect level. - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Proposal: Implement failover on libpq connect level.
Date
Msg-id 20150903170423.GK3685@tamriel.snowman.net
Whole thread Raw
In response to Re: Proposal: Implement failover on libpq connect level.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> Alternatively, change the rules for parsing the existing host=X
> parameter so that we split it on some separator that isn't a valid
> hostname character, and then strip off an optional :port syntax from
> each entry; that value, if present, overrides port=X for that entry.

Using a ':' should work just fine for that.  Having only one option for
how all the connections are done (concurrently, round robin, etc) and an
option for the timeout works for now.

Thanks!

Stephen

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Proposal: Implement failover on libpq connect level.
Next
From: Christopher Browne
Date:
Subject: Re: Proposal: Implement failover on libpq connect level.