pg_connection_status

(PHP 4 >= 4.2.0)

pg_connection_status --  Zwraca stan po│▒czenia

Opis

int pg_connection_status ( resource connection)

pg_connection_status() zwraca stan po│▒czenia. Mo┐liwe stany to PGSQL_CONNECTION_OK i PGSQL_CONNECTION_BAD.

Zobacz tak┐e pg_connection_busy().