1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2009-03-30 13:33:39 +00:00
parent 53b7e978e4
commit 790e15eb20
1 changed files with 1 additions and 6 deletions

View File

@ -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.