略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: pg_options

2024-12-20

pg_options

(PHP 4, PHP 5, PHP 7, PHP 8)

pg_options获得和连接有关的选项

说明

pg_options(resource $connection): string

pg_options() 以字符串形式返回指定 PostgreSQL connection 资源的连接选项。

add a noteadd a note

User Contributed Notes 1 note

up
0
Robert Treat <xzilla at sourceforge>
17 years ago
Apparently this function does not return the database name given in the connection string.  I tried this on apache 2.x/php4.3.x/pg7.4.x and apache 1.3.x/php5.x/pg8rc1 and saw this behavior on both setups.

官方地址:https://www.php.net/manual/en/function.pg-options.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3