pg_parameter_status()
pg_parameter_status - Looks up a current parameter setting of the server.
Syntax
string pg_parameter_status (
resource $connection,
string $param_name)
Arguments
- connection - PostgreSQL database connection resource. When connection is not present, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().
- param_name - Possible param_name values include server_version, server_encoding, client_encoding, is_superuser, session_authorization, DateStyle, TimeZone, and integer_datetimes.
Description
Looks up a current parameter setting of the server.
Version
PHP 5
Return value
A string containing the value of the parameter, FALSE on failure or invalid param_name.