logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RESET - restore the value of a run-time parameter to the default value

Compatibility

RESET is a PostgreSQL extension.

Description

RESET restores run-time parameters to their default values.  RESET is an alternative spelling for

           SET configuration_parameter TO DEFAULT

       Refer to SET(7) for details.

       The default value is defined as the value that the parameter would have had, if no SET 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. See Chapter 19 for details.

       The transactional behavior of RESET is the same as SET: its effects will be undone by transaction
       rollback.

Examples

       Set the timezone configuration variable to its default value:

           RESET timezone;

Name

       RESET - restore the value of a run-time parameter to the default value

Parameters

configuration_parameter
           Name of a settable run-time parameter. Available parameters are documented in Chapter 19 and on the
           SET(7) reference page.

       ALL
           Resets all settable run-time parameters to default values.

See Also

SET(7), SHOW(7)

PostgreSQL 17.5                                       2025                                              RESET(7)

Synopsis

       RESET configuration_parameter
       RESET ALL

See Also