From 790e15eb2037cda9e82f181ab333064f4314f8e1 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Mon, 30 Mar 2009 13:33:39 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/extras/pgsql-queue/mms_pgsql_queue.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mbuni/extras/pgsql-queue/mms_pgsql_queue.c b/mbuni/extras/pgsql-queue/mms_pgsql_queue.c index 9177cbc..f2a161e 100644 --- a/mbuni/extras/pgsql-queue/mms_pgsql_queue.c +++ b/mbuni/extras/pgsql-queue/mms_pgsql_queue.c @@ -199,12 +199,7 @@ static PGconn *get_conn_real(const char *function, const char *file, const int l alloc_conns++; break; - } else if (alloc_conns < max_conns) { /* we failed to connect, report it. */ - mms_error(0, "pgsql_queue", NULL, "get_conn: failed to connect to db: %s", - PQerrorMessage(c)); - PQfinish(c); - c = NULL; - } + } /* we get here because we don't have any free connections, and we've hit the limit * of allowed connections, or db connection allocation failed.