pg_connection_status

(PHP 4 CVS only)

pg_connection_status --  Get connection status

Description

int pg_connection_status ( resource connection)

pg_connection_status() returns a connection status. Possible status is PGSQL_CONNECTION_O or PGSQL_CONNECTION_BAD.

See also pg_connection_busy()