编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « pg_ping
  • pg_prepare »
  • PHP Manual
  • PostgreSQL 函数
  • 返回该连接的端口号

pg_port

(PHP 4, PHP 5, PHP 7)

pg_port — 返回该连接的端口号

说明

pg_port ( resource $connection ) : int

pg_port() 返回给定的 PostgreSQL connection 资源所连接的端口号。

相关文章
php 杂项 函数 返回连接的状态位php postgresql 函数 返回受影响的记录数目php postgresql 函数 关闭一个 postgresql 连接php postgresql 函数 返回字段的名字php postgresql 函数 返回字段的编号php postgresql 函数 返回打印出来的长度php postgresql 函数 返回指定字段占用内部存储空间的大小php postgresql 函数 返回相应字段的类型名称php postgresql 函数 返回和某连接关联的主机名php postgresql 函数 得到某连接的最后一条错误信息php postgresql 函数 返回 postgresql 服务器最新一条公告信息php postgresql 函数 返回上一个对象的 oidphp postgresql 函数 返回字段的数目php postgresql 函数 返回行的数目php postgresql 函数 获得和连接有关的选项php postgresql 函数 打开一个持久的 postgresql 连接php postgresql 函数 ping 数据库连接php postgresql 函数 返回该连接的端口号php postgresql 函数 启动一个 postgresql 连接的追踪功能php postgresql 函数 返回该连接的 tty 号
关注编程学问公众号
编程学问网 湘ICP备20001732号