3 PostgreSQL documentation
6 <refentry id=
"SQL-RESET">
8 <refentrytitle id=
"SQL-RESET-TITLE">RESET
</refentrytitle>
9 <manvolnum>7</manvolnum>
10 <refmiscinfo>SQL - Language Statements
</refmiscinfo>
14 <refname>RESET
</refname>
15 <refpurpose>restore the value of a run-time parameter to the default value
</refpurpose>
18 <indexterm zone=
"sql-reset">
19 <primary>RESET
</primary>
24 RESET
<replaceable class=
"PARAMETER">configuration_parameter
</replaceable>
30 <title>Description
</title>
33 <command>RESET
</command> restores run-time parameters to their
34 default values.
<command>RESET
</command> is an alternative
37 SET
<replaceable class=
"parameter">configuration_parameter
</replaceable> TO DEFAULT
39 Refer to
<xref linkend=
"sql-set" endterm=
"sql-set-title"> for
44 The default value is defined as the value that the parameter would
45 have had, if no
<command>SET<
/> had ever been issued for it in the
46 current session. The actual source of this value might be a
47 compiled-in default, the configuration file, command-line options,
48 or per-database or per-user default settings. This is subtly different
49 from defining it as
<quote>the value that the parameter had at session
50 start<
/>, because if the value came from the configuration file, it
51 will be reset to whatever is specified by the configuration file now.
52 See
<xref linkend=
"runtime-config"> for details.
56 The transactional behavior of
<command>RESET<
/> is the same as
57 <command>SET<
/>: its effects will be undone by transaction rollback.
62 <title>Parameters
</title>
66 <term><replaceable class=
"PARAMETER">configuration_parameter
</replaceable></term>
69 Name of a settable run-time parameter. Available parameters are
70 documented in
<xref linkend=
"runtime-config"> and on the
71 <xref linkend=
"sql-set" endterm=
"sql-set-title"> reference page.
77 <term><literal>ALL
</literal></term>
80 Resets all settable run-time parameters to default values.
88 <title>Examples
</title>
91 Set the
<varname>timezone<
/> configuration variable to its default value:
99 <title>Compatibility
</title>
102 <command>RESET
</command> is a
<productname>PostgreSQL
</productname> extension.
107 <title>See Also
</title>
109 <simplelist type=
"inline">
110 <member><xref linkend=
"SQL-SET" endterm=
"SQL-SET-title"></member>
111 <member><xref linkend=
"SQL-SHOW" endterm=
"SQL-SHOW-title"></member>