debugging pg_connect

From: Date: Thu, 26 Apr 2007 08:26:32 +0000
Subject: debugging pg_connect
Groups: php.db 
Request: Send a blank email to php-db+get-43494@lists.php.net to get a copy of this message
Hello, since we upgraded to the latest php and PostgreSQL - we started to get frequent pg_connect() errors. What is sure is that they are not caused by insufficient connections - PostgreSQL reports 100 connections available and less than 10 used when the pg_connect fails. pg_last_error() and the other error handling functions operate on connection. So they do not seem useful when pg_connect() fails. In the PostgreSQL documentation I could find out how to log successful connections, but not how to login failed connections. Could somebody advice me on possible ways to test? Thank you, Iv

« previous php.db (#43494) next »