Re: Patch: Implement failover on libpq connect level.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Cc: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, 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-22 20:52:38
Message-ID: CA+TgmoZvC4sKwEif_rtU3pCdkMODrAoh2Tsksb9FHYP3Xhc=tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On Sun, Nov 13, 2016 at 9:02 PM, Tsunakawa, Takayuki
<tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com> wrote:
> From: pgsql-hackers-owner(at)postgresql(dot)org
>> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of Robert Haas
>> 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.
>
> The attached patch fixes some bugs and make a clarification for doc. Could you check and test the authentication stuff as I don't have an environment at hand?

I don't have an environment at hand, either, but I think your fixes
are correct, so I have committed them.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2016-11-22 20:53:43 Re: dblink get_connect_string() passes FDW option "updatable" to the connect string, connection fails.
Previous Message Tom Lane 2016-11-22 20:52:22 Re: [RFC] Should we fix postmaster to avoid slow shutdown?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Catalin Iacob 2016-11-23 16:49:29 Re: Patch: Implement failover on libpq connect level.
Previous Message Mithun Cy 2016-11-22 12:10:55 Re: Patch: Implement failover on libpq connect level.