Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbad8277

Browse files
committed
Update comment that says we only report last libpq connection failure,
per Peter.
1 parented51bd4 commitbad8277

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)

[8]ページ先頭

©2009-2025 Movatter.jp