pg_host

(PHP 3, PHP 4 >= 4.0.0)

pg_host -- ホスト名を返す

説明

string pg_host (int connection_id)

pg_host()は、指定したPostgreSQL接続IDが接続している ホストの名前を返します。