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