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

From Alvaro Herrera
Subject Re: Proposal: Implement failover on libpq connect level.
Date
Msg-id 20150903161421.GB2912@alvherre.pgsql
Whole thread Raw
In response to Re: Proposal: Implement failover on libpq connect level.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas 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.

: is not a valid character in hostnames, so I think this makes sense.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Horizontal scalability/sharding
Next
From: Andres Freund
Date:
Subject: Re: Horizontal scalability/sharding