From: Marko Kreen Date: Tue, 22 Nov 2011 21:19:57 +0000 (+0200) Subject: Improve error msg when connections to server fail. X-Git-Tag: pgbouncer_1_5_rc1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e857280a851f777277a046d8e2a4cd2a5c3edc29;p=pgbouncer Improve error msg when connections to server fail. --- diff --git a/src/objects.c b/src/objects.c index a2f7bd6..04ca32a 100644 --- 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);