Search Postgresql Archives

PQstatus does not seem to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
 
 I used PQstatus(conn) function to check connection status, but I found that it still returns CONNECTION_OK even after postgres is restarted.  Does anyone know if there is another command that I can use to check connection status?
 
What other solution is available to check whether a connection is still alive?
 
Thanks,
JB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux