pg_port

(PHP 3, PHP 4, PHP 5)

pg_port --  返回該連線的埠號

說明

int pg_port ( resource connection )

pg_port() 返回給定的 PostgreSQL connection 資源所連線的埠號。