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

-- reset DateStyle to its default;
RESET DateStyle;
   
-- reset Geqo to its default;
RESET GEQO;

Compatibility

SQL92

There is no RESET in SQL92.