Skip to content

Commit bad8277

Browse files
committed
Update comment that says we only report last libpq connection failure,
per Peter.
1 parent ed51bd4 commit bad8277

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,9 +1514,7 @@ PQconnectPoll(PGconn *conn)
15141514
/*
15151515
* Try to initiate a connection to one of the addresses
15161516
* returned by pg_getaddrinfo_all(). conn->addr_cur is the
1517-
* next one to try. We fail when we run out of addresses
1518-
* (reporting the error returned for the *last* alternative,
1519-
* which may not be what users expect :-().
1517+
* next one to try. We fail when we run out of addresses.
15201518
*/
15211519
while (conn->addr_cur != NULL)
15221520
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy