pg_connection_status

(PHP 4 >= 4.2.0, PHP 5)

pg_connection_status --  接続ステータスを取得する

説明

int pg_connection_status ( resource connection)

pg_connection_status()は接続ステータスを返します。 利用可能なステータスはPGSQL_CONNECTION_OPGSQL_CONNECTION_BADです。

pg_connection_busy()も参照下さい。