PHP 5.6.0 released

pg_options

(PHP 4, PHP 5)

pg_optionsRetorna as opções associadas com a conexão

Descrição

string pg_options ( resource $connection )

pg_options() retornará uma string contendo as opções especificadas no recurso (resource) de conexão PostgreSQL connection.

add a note add a note

User Contributed Notes 1 note

up
0
Robert Treat <xzilla at sourceforge>
9 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.
To Top