RESET
RESET — restore the value of a run-time parameter to the default value
Synopsis
RESETconfiguration_parameter
RESET ALL
Description
RESET
restores run-time parameters to their default values.RESET
is an alternative spelling for
SETconfiguration_parameter
TO DEFAULT
Refer toSET for details.
The default value is defined as the value that the parameter would have had, if noSET
had ever been issued for it in the current session. The actual source of this value might be a compiled-in default, the configuration file, command-line options, or per-database or per-user default settings. This is subtly different from defining it as“the value that the parameter had at session start”, because if the value came from the configuration file, it will be reset to whatever is specified by the configuration file now. SeeChapter 18 for details.
The transactional behavior ofRESET
is the same asSET
: its effects will be undone by transaction rollback.
Parameters
configuration_parameter
Name of a settable run-time parameter. Available parameters are documented inChapter 18 and on theSET reference page.
ALL
Resets all settable run-time parameters to default values.
Examples
Set thetimezone
configuration variable to its default value:
RESET timezone;
Compatibility
RESET
is aPostgres Pro extension.