From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: libpq: Try next host if one of them times out.
Date: Fri, 19 May 2017 20:23:37 +0000
Message-ID: <E1dBoQz-0002at-Ob@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
libpq: Try next host if one of them times out.
If one host in a multi-host connection string times out, move on to
the next specified host instead of giving up entirely.
Takayuki Tsunakawa, reviewed by Michael Paquier. I added
a minor adjustment to the documentation.
Discussion: http://postgr.es/m/0A3221C70F24FB45833433255569204D1F6F42F5@G01JPEXMBYT05
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5f374fe7a83304fd339789da22599bd102dac9e5
Modified Files
--------------
doc/src/sgml/libpq.sgml | 7 ++++---
src/interfaces/libpq/fe-connect.c | 29 +++++++++++++++++++++++++----
src/interfaces/libpq/fe-misc.c | 10 ++++------
3 files changed, 33 insertions(+), 13 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: libpq: Try next host if one of them times out.
In-Reply-To: <E1dBoQz-0002at-Ob@gemulon.postgresql.org>
References: <E1dBoQz-0002at-Ob@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox