September 26, 2024: PostgreSQL 17 Released!
Unsupported versions: 7.0 / 6.5 / 6.4
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

RESET

Name

RESET — Restores run-time parameters for session to default values
RESET variable
  

Inputs

variable

Refer to the SET statement for more information on available variables.

Outputs

RESET VARIABLE

Message returned if variable is successfully reset to its default value..

Description

RESET restores variables to the default values. Refer to the SET command for details on allowed values and defaults. RESET is an alternate form for SET variable = DEFAULT

Notes

The RESET statement is a Postgres language extension.

Refer to SET/SHOW statements to set/show variable values.

Usage

Set DateStyle to its default value:

RESET DateStyle;
   

Set Geqo to its default value:

   
RESET GEQO;
   

Compatibility

SQL92

There is no RESET in SQL92.