| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: libpq: Try next host if one of them times out. |
| Date: | 2017-05-19 20:23:37 |
| Message-ID: | E1dBoQz-0002at-Ob@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2017-05-19 20:42:19 | pgsql: Fix mistake in error message |
| Previous Message | Robert Haas | 2017-05-19 19:58:48 | pgsql: Capitalize SHOW when testing whether target_session_attrs=read-w |