Re: Patch: Implement failover on libpq connect level.
Mithun Cy <mithun.cy@enterprisedb.com>
From: Mithun Cy <mithun.cy@enterprisedb.com>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>,
Robert Haas <robertmhaas@gmail.com>, Peter van Hardenberg <pvh@pvh.ca>, Peter Eisentraut <peter_e@gmx.net>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Petr Jelinek <petr.jelinek@2ndquadrant.com>
Date: 2016-11-22T12:10:55Z
Lists: pgsql-hackers
Attachments
- failover_to_new_master_v4.patch (application/octet-stream) patch v4
- libpq-failover-smallbugs_02.patch (application/octet-stream) patch
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.
Commits
-
libpq: Add target_session_attrs parameter.
- 721f7bd3cbcc 10.0 landed
-
Remove superuser checks in pgstattuple
- fd321a1dfd64 10.0 cited
-
Fix unwanted flushing of libpq's input buffer when socket EOF is seen.
- c405918858c0 9.6.0 cited