pg_ping
pg_prepare
PostgreSQL
PHP Manual
pg_port
(PHP 4, PHP 5)
pg_port — 返回该连接的端口号
说明
int
pg_port
(
resource
$connection
)
pg_port()
返回给定的 PostgreSQL
connection
资源所连接的端口号。
pg_ping
pg_prepare
PostgreSQL
PHP Manual