projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f860dee
)
Improve error msg when connections to server fail.
author
Marko Kreen
<markokr@gmail.com>
Tue, 22 Nov 2011 21:19:57 +0000
(23:19 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 22 Nov 2011 21:19:57 +0000
(23:19 +0200)
src/objects.c
patch
|
blob
|
blame
|
history
diff --git
a/src/objects.c
b/src/objects.c
index a2f7bd63ce29e61c0e74d5d92d3159f3b7d47844..04ca32a8fe762ea42d2ec03ff2d18b3a1dba77db 100644
(file)
--- a/
src/objects.c
+++ b/
src/objects.c
@@
-509,7
+509,7
@@
bool check_fast_fail(PgSocket *client)
cnt = pool_server_count(pool) - statlist_count(&pool->new_server_list);
if (cnt)
return true;
- disconnect_client(client, true, "
no working server connection
");
+ disconnect_client(client, true, "
pgbouncer cannot connect to server
");
/* usual relaunch wont work, as there are no waiting clients */
launch_new_connection(pool);