pg_parameter_status
Looks up a current parameter setting of the server
&reftitle.description;
stringpg_parameter_status
PgSql\Connectionconnection
stringparam_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.
Parameters reported by the server include server_version,
server_encoding, client_encoding,
is_superuser, session_authorization,
DateStyle, TimeZone, and integer_datetimes.
Note that
server_version, server_encoding and integer_datetimes
cannot change after PostgreSQL startup.
&reftitle.parameters;
connection
&pgsql.parameter.connection-with-unspecified-default;
param_name
Possible param_name values include server_version,
server_encoding, client_encoding,
is_superuser, session_authorization,
DateStyle, TimeZone, and
integer_datetimes. Note that this value is case-sensitive.
&reftitle.returnvalues;
A string containing the value of the parameter, &false; on failure or invalid
param_name.
&reftitle.changelog;
&Version;
&Description;
&pgsql.changelog.connection-object;
&reftitle.examples;
pg_parameter_status example
]]>
&example.outputs;