From e857280a851f777277a046d8e2a4cd2a5c3edc29 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 22 Nov 2011 23:19:57 +0200 Subject: [PATCH] Improve error msg when connections to server fail. --- src/objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0