]> granicus.if.org Git - postgresql/commit
libpq: Try next host if one of them times out.
authorRobert Haas <rhaas@postgresql.org>
Fri, 19 May 2017 20:19:51 +0000 (16:19 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 19 May 2017 20:19:51 +0000 (16:19 -0400)
commit5f374fe7a83304fd339789da22599bd102dac9e5
tree42bbf462f55a505452e107074fe06ecfe925348e
parentaa41bc794c51a4d5c364cca014c199b1a00d26aa
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
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c