string pg_parameter_status ([ resource $connection ], string $param_name )
Looks up a current parameter setting of the server. Certain parameter values are reported by the server automatically at connection startup or whenever their values change. pg_parameter_status() can be used to interrogate these settings. It returns the current value of a parameter if known, or FALSE if the parameter is not known.
A string containing the value of the parameter, FALSE on failure or invalid param_name.