PHP Conference Nagoya 2025

pg_options

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

pg_optionsEstrae le opzioni associate alla connessione

Descrizione

pg_options(resource $connessione): string

pg_options() restituisce una stringa contenente le opzioni specificate alla risorsa PostgreSQL connessione.

add a note

User Contributed Notes 1 note

up
-2
Robert Treat <xzilla at sourceforge>
19 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