1999-07-22 17:09:15 +02:00
|
|
|
<!--
|
2003-08-31 19:32:24 +02:00
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reset.sgml,v 1.21 2003/08/31 17:32:24 petere Exp $
|
2001-12-08 04:24:40 +01:00
|
|
|
PostgreSQL documentation
|
1999-07-22 17:09:15 +02:00
|
|
|
-->
|
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<refentry id="SQL-RESET">
|
|
|
|
<refmeta>
|
2000-06-18 23:24:54 +02:00
|
|
|
<refentrytitle id="SQL-RESET-TITLE">RESET</refentrytitle>
|
1999-06-14 09:37:05 +02:00
|
|
|
<refmiscinfo>SQL - Language Statements</refmiscinfo>
|
|
|
|
</refmeta>
|
2003-05-04 04:23:16 +02:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<refnamediv>
|
2000-06-18 23:24:54 +02:00
|
|
|
<refname>RESET</refname>
|
2003-05-04 04:23:16 +02:00
|
|
|
<refpurpose>restore the value of a run-time parameter to the default value</refpurpose>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refnamediv>
|
2003-05-04 04:23:16 +02:00
|
|
|
|
2003-08-31 19:32:24 +02:00
|
|
|
<indexterm zone="sql-reset">
|
|
|
|
<primary>RESET</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<refsynopsisdiv>
|
2003-05-04 04:23:16 +02:00
|
|
|
<synopsis>
|
|
|
|
RESET <replaceable class="PARAMETER">parameter</replaceable>
|
|
|
|
</synopsis>
|
|
|
|
<synopsis>
|
2001-06-07 06:50:57 +02:00
|
|
|
RESET ALL
|
2003-05-04 04:23:16 +02:00
|
|
|
</synopsis>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refsynopsisdiv>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
2003-05-04 04:23:16 +02:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<para>
|
2000-06-18 23:24:54 +02:00
|
|
|
<command>RESET</command> restores run-time parameters to their
|
2003-05-04 04:23:16 +02:00
|
|
|
default values. <command>RESET</command> is an alternative
|
|
|
|
spelling for
|
|
|
|
<synopsis>
|
|
|
|
SET <replaceable class="parameter">parameter</replaceable> TO DEFAULT
|
|
|
|
</synopsis>
|
|
|
|
Refer to <xref linkend="sql-set" endterm="sql-set-title"> for
|
|
|
|
details.
|
|
|
|
</para>
|
2002-05-17 03:19:19 +02:00
|
|
|
|
2003-05-04 04:23:16 +02:00
|
|
|
<para>
|
|
|
|
The default value is defined as the value that the parameter would
|
2002-05-17 03:19:19 +02:00
|
|
|
have had, had no <command>SET</> ever been issued for it in the
|
|
|
|
current session. The actual source of this value might be a
|
2003-05-04 04:23:16 +02:00
|
|
|
compiled-in default, the configuration file, command-line options,
|
|
|
|
or per-database or per-user default settings. See <xref
|
|
|
|
linkend="runtime-config"> for details.
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
2002-10-09 06:59:38 +02:00
|
|
|
|
|
|
|
<para>
|
2003-05-04 04:23:16 +02:00
|
|
|
See the <command>SET</> reference page for details on the
|
|
|
|
transaction behavior of <command>RESET</>.
|
2002-10-09 06:59:38 +02:00
|
|
|
</para>
|
2003-05-04 04:23:16 +02:00
|
|
|
</refsect1>
|
2002-10-09 06:59:38 +02:00
|
|
|
|
2003-05-04 04:23:16 +02:00
|
|
|
<refsect1>
|
|
|
|
<title>Parameters</title>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><replaceable class="PARAMETER">parameter</replaceable></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The name of a run-time parameter. See <xref linkend="sql-set"
|
|
|
|
endterm="sql-set-title"> for a list.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><literal>ALL</literal></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Resets all settable run-time parameters to default values.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2000-06-18 23:24:54 +02:00
|
|
|
</refsect1>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<refsect1>
|
|
|
|
<title>Diagnostics</title>
|
2003-05-04 04:23:16 +02:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<para>
|
2003-05-04 04:23:16 +02:00
|
|
|
See under the <xref linkend="sql-set" endterm="sql-set-title">.
|
2000-06-18 23:24:54 +02:00
|
|
|
</para>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refsect1>
|
2000-06-18 23:24:54 +02:00
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Examples</title>
|
1999-07-06 19:16:42 +02:00
|
|
|
|
2003-05-04 04:23:16 +02:00
|
|
|
<para>
|
|
|
|
Set <varname>datestyle</> to its default value:
|
2000-06-18 23:24:54 +02:00
|
|
|
<screen>
|
2003-05-04 04:23:16 +02:00
|
|
|
RESET datestyle;
|
2000-06-18 23:24:54 +02:00
|
|
|
</screen>
|
1999-07-06 19:16:42 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2002-09-21 20:32:54 +02:00
|
|
|
Set <varname>geqo</> to its default value:
|
2003-05-04 04:23:16 +02:00
|
|
|
<screen>
|
|
|
|
RESET geqo;
|
2000-06-18 23:24:54 +02:00
|
|
|
</screen>
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<refsect1>
|
|
|
|
<title>Compatibility</title>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<para>
|
2001-12-08 04:24:40 +01:00
|
|
|
<command>RESET</command> is a <productname>PostgreSQL</productname> extension.
|
2000-06-18 23:24:54 +02:00
|
|
|
</para>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:nil
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../reference.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:"/usr/lib/sgml/catalog"
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
-->
|