From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com> |
Cc: | Peter van Hardenberg <pvh(at)pvh(dot)ca>, Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch: Implement failover on libpq connect level. |
Date: | 2016-11-03 13:46:28 |
Message-ID: | CA+TgmoZt08RrUk_iN3AYpyTABfepJ92bCm0dXYiPa25W3Obqsg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
On Wed, Nov 2, 2016 at 1:59 PM, Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com> wrote:
> On Tue, Nov 1, 2016 at 9:42 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Ah, nuts. Thanks, good catch. Should be fixed in the attached version.
>
> I repeated the test on new patch, It works fine now, Also did some more
> negative tests forcibly failing some internal calls. All tests have passed.
> This patch works as described and look good to me.
Great, committed. There's still potentially more work to be done
here, because my patch omits some features that were present in
Victor's original submission, like setting the failover timeout,
optionally randomizing the order of the hosts, and distinguishing
between master and standby servers; Victor, or anyone, please feel
free to submit separate patches for those things.
Thanks.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-11-03 13:46:29 | pgsql: libpq: Allow connection strings and URIs to specify multiple hos |
Previous Message | Craig Ringer | 2016-11-03 13:44:29 | Re: Stopping logical replication protocol |
From | Date | Subject | |
---|---|---|---|
Next Message | Mithun Cy | 2016-11-09 15:05:38 | Re: Patch: Implement failover on libpq connect level. |
Previous Message | Dave Cramer | 2016-11-03 10:21:44 | Re: pgjdbc 9.4.1212 is released |