(PHP 3, PHP 4 >= 4.0.0)
int pg_port (int connection_id)
int pg_port
pg_port()は、指定したPostgreSQL接続IDが接続し ているポートの番号を返します。