projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed51bd4
)
Update comment that says we only report last libpq connection failure,
author
Bruce Momjian
<
[email protected]
>
Fri, 26 Nov 2010 16:52:03 +0000
(11:52 -0500)
committer
Bruce Momjian
<
[email protected]
>
Fri, 26 Nov 2010 16:52:03 +0000
(11:52 -0500)
per Peter.
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index 8b5516759f8e4f33f9125821d6edb362b2057d53..44a3c715307b23db12038a80302079eb45c50f79 100644
(file)
--- 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)
{