aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-11-26 11:52:03 -0500
committerBruce Momjian <bruce@momjian.us>2010-11-26 11:52:03 -0500
commitbad8277f13c31350abd7571af51d272bd1401f3c (patch)
tree4b5968e42d94e55fd377d422e62450f00b367a81 /src
parented51bd4968a903e13bdcded869a644fd0d28353c (diff)
downloadpostgresql-bad8277f13c31350abd7571af51d272bd1401f3c.tar.gz
postgresql-bad8277f13c31350abd7571af51d272bd1401f3c.zip
Update comment that says we only report last libpq connection failure,
per Peter.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 8b5516759f8..44a3c715307 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -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)
{