This page in other versions: 9.3 / 9.4 / 9.5 / 9.6 / current (10)  |  Development versions: devel  |  Unsupported versions: 7.1 / 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3 / 8.4 / 9.0 / 9.1 / 9.2



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


RESET name


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

SET parameter TO DEFAULT

Refer to SET for details.

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

See the SET reference page for details on the transaction behavior of RESET.



The name of a run-time parameter. See SET for a list.


Resets all settable run-time parameters to default values.


Set DATESTYLE to its default value:

RESET datestyle;

Set GEQO to its default value:

RESET geqo;


RESET is a PostgreSQL extension.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group