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

From Teodor Sigaev
Subject Re: Proposal: Implement failover on libpq connect level.
Date
Msg-id 55E087DD.5060003@sigaev.ru
Whole thread Raw
In response to Re: Proposal: Implement failover on libpq connect level.  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Proposal: Implement failover on libpq connect level.
List pgsql-hackers
> +1 for bringing the jdbc driver URI syntax into libpq, so that all interfaces
> can be optionally specified this way. This doesn't preclude the use of
> ipfailover, in fact it might be work well together. If you don't like it, don't
> use it.

+1

Another thought:  multiple hosts in URI could be used in simple configuration 
for read-only clients. I faced with customers which manages two connections in 
process - to master and to one of several slaves.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity
Next
From: Jeff Janes
Date:
Subject: Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified