pg_port

(PHP3 , PHP4 )

pg_port -- ポート番号を返す

説明

int pg_port (int connection_id)

pg_port()は、指定したPostgreSQL接続IDが接続している ポートの番号を返します。