Re: Patch: Implement failover on libpq connect level.

From: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>, Robert Haas <robertmhaas(at)gmail(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>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Subject: Re: Patch: Implement failover on libpq connect level.
Date: 2016-11-22 12:10:55
Message-ID: CAD__Ouhm+ygP8dv-zxNp225m=Eg2H5tV83MOq2cF=zPuiT1PtQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

An updated patch with some fixes for bugs reported earlier,

A. failover_to_new_master_v4.patch
Default value "any" is added to target_server_type parameter during its
definition.

B. libpq-failover-smallbugs_02.patch
Fixed the issue raised by [PATCH] pgpassfile connection option
<https://www.postgresql.org/message-id/alpine.DEB.2.20.1611200841560.4443%40lancre>,
Now added host and port name along with pgpass file error message when ever
authentication fails and added same to file libpq-failover-smallbugs.patch
(bugs reported and fixed by Tsunakawa). I did review of original bugs
reported and fixes it seems okay for me. I could not test GSS and SSPI
authentication as it appears they needed windows.

Attachment Content-Type Size
failover_to_new_master_v4.patch application/octet-stream 12.6 KB
libpq-failover-smallbugs_02.patch application/octet-stream 6.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2016-11-22 12:54:55 Re: Push down more UPDATEs/DELETEs in postgres_fdw
Previous Message Pavel Stehule 2016-11-22 12:06:28 Re: Danger of automatic connection reset in psql

Browse pgsql-jdbc by date

  From Date Subject
Next Message Robert Haas 2016-11-22 20:52:38 Re: Patch: Implement failover on libpq connect level.
Previous Message Craig Ringer 2016-11-22 07:51:44 Re: Patch: Implement failover on libpq connect level.