(PHP 3, PHP 4 >= 4.0b1)
int pg_port (int connection_id)
int pg_port
pg_Port() Gibt die Portnummer der durch die Kennung bezeichneten PostgresSQL-Verbindung aus.