Commit bad8277f authored by Bruce Momjian's avatar Bruce Momjian

Update comment that says we only report last libpq connection failure,

per Peter.
parent ed51bd49
...@@ -1514,9 +1514,7 @@ keep_going: /* We will come back to here until there is ...@@ -1514,9 +1514,7 @@ keep_going: /* We will come back to here until there is
/* /*
* Try to initiate a connection to one of the addresses * Try to initiate a connection to one of the addresses
* returned by pg_getaddrinfo_all(). conn->addr_cur is the * returned by pg_getaddrinfo_all(). conn->addr_cur is the
* next one to try. We fail when we run out of addresses * next one to try. We fail when we run out of addresses.
* (reporting the error returned for the *last* alternative,
* which may not be what users expect :-().
*/ */
while (conn->addr_cur != NULL) while (conn->addr_cur != NULL)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment