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.
pg_Options
(PHP 4, PHP 5)
pg_Options — Devuelve opciones
Descripción
string pg_options
( int $connection_id
)
pg_Options() devuelve una cadena que contiene las opciones especificadas en el identificador de conexión con PostgreSQL dado.
pg_Options
Robert Treat <xzilla at sourceforge>
01-Jan-2005 04:07
01-Jan-2005 04:07
