mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Update comment that says we only report last libpq connection failure,
per Peter.
This commit is contained in:
parent
ed51bd4968
commit
bad8277f13
@ -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
|
||||
* returned by pg_getaddrinfo_all(). conn->addr_cur is the
|
||||
* 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 :-().
|
||||
* next one to try. We fail when we run out of addresses.
|
||||
*/
|
||||
while (conn->addr_cur != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user