(PHP 4 CVS only)
pg_connection_status() returns a connection status. Possible status is PGSQL_CONNECTION_O or PGSQL_CONNECTION_BAD.
See also pg_connection_busy()