pg_connection_status

Example

 int pg_connection_status ( resource $connection ) 

Description

pg_connection_status() returns the status of the specified connection.

Return Values

PGSQL_CONNECTION_OK or PGSQL_CONNECTION_BAD.