(PHP 4 >= 4.2.0, PHP 5)
pg_connection_status() zwraca stan połączenia. Możliwe stany to PGSQL_CONNECTION_OK i PGSQL_CONNECTION_BAD.
Zobacz także pg_connection_busy().