Re: Proposal: Implement failover on libpq connect level.

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, ''Victor Wagner *EXTERN*' *EXTERN*' *EXTERN* <vitus(at)wagner(dot)pp(dot)ru>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: Implement failover on libpq connect level.
Date: 2015-08-28 16:10:05
Message-ID: 55E087DD.5060003@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

> +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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2015-08-28 16:13:59 Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified
Previous Message Stephen Frost 2015-08-28 15:41:04 Re: AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sehrope Sarkuni 2015-08-28 23:08:34 Re: Version 1202 released
Previous Message Dave Cramer 2015-08-28 14:22:04 Re: Version 1202 released