reset.sgml 2.5 KB
Newer Older
1
<!--
2
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reset.sgml,v 1.12 2001/09/03 12:57:50 petere Exp $
3 4 5
Postgres documentation
-->

T
Thomas G. Lockhart 已提交
6 7
<refentry id="SQL-RESET">
 <refmeta>
8
  <refentrytitle id="SQL-RESET-TITLE">RESET</refentrytitle>
T
Thomas G. Lockhart 已提交
9 10 11
  <refmiscinfo>SQL - Language Statements</refmiscinfo>
 </refmeta>
 <refnamediv>
12
  <refname>RESET</refname>
13
  <refpurpose>restore the value of a run-time parameter to a default value</refpurpose>
T
Thomas G. Lockhart 已提交
14 15 16 17 18
 </refnamediv>
 <refsynopsisdiv>
  <synopsis>
RESET <replaceable class="PARAMETER">variable</replaceable>
  </synopsis>
19 20 21
  <synopsis>
RESET ALL
  </synopsis>
22

T
Thomas G. Lockhart 已提交
23
  <refsect2 id="R2-SQL-RESET-1">
24
   <title>Inputs</title>
T
Thomas G. Lockhart 已提交
25 26 27
   <para>		
    <variablelist>
     <varlistentry>
28
      <term><replaceable class="PARAMETER">variable</replaceable></term>
T
Thomas G. Lockhart 已提交
29 30
      <listitem>
       <para>
31
	The name of a run-time parameter. See <xref
32
	linkend="sql-set" endterm="sql-set-title"> for a list.
T
Thomas G. Lockhart 已提交
33 34 35
       </para>
      </listitem>
     </varlistentry>
36 37 38 39 40 41 42 43
     <varlistentry>
      <term>ALL</term>
      <listitem>
       <para>
        Resets all run-time parameters to default values.
       </para>
      </listitem>
     </varlistentry>
T
Thomas G. Lockhart 已提交
44 45 46
    </variablelist>
   </para>
  </refsect2>
47

T
Thomas G. Lockhart 已提交
48
 </refsynopsisdiv>
49
  
50 51
 <refsect1>
  <title>Description</title>
T
Thomas G. Lockhart 已提交
52
  <para>
53 54
   <command>RESET</command> restores run-time parameters to their
   default values. Refer to
55
   <xref linkend="sql-set" endterm="sql-set-title">
56
   for details. <command>RESET</command> is an alternate form for
57 58

   <synopsis>
59
SET <replaceable class="parameter">variable</replaceable> TO DEFAULT
60
   </synopsis>
T
Thomas G. Lockhart 已提交
61
  </para>
62
 </refsect1>
63

64 65 66
 <refsect1>
  <title>Diagnostics</title>
  <para>
67
   See under the <xref linkend="sql-set"
68 69
   endterm="sql-set-title"> command.
  </para>
T
Thomas G. Lockhart 已提交
70
 </refsect1>
71 72 73

 <refsect1>
  <title>Examples</title>
T
Thomas G. Lockhart 已提交
74
  <para>
75 76
   Set DateStyle to its default value:

77
<screen>
T
Thomas G. Lockhart 已提交
78
RESET DateStyle;
79
</screen>
80 81 82 83 84
  </para>

  <para>
   Set Geqo to its default value:

85
<screen>   
T
Thomas G. Lockhart 已提交
86
RESET GEQO;
87
</screen>
T
Thomas G. Lockhart 已提交
88 89 90
  </para>
 </refsect1>

91 92
 <refsect1>
  <title>Compatibility</title>
93

94 95 96
  <para>
   <command>RESET</command> is a <productname>Postgres</productname> extension.
  </para>
T
Thomas G. Lockhart 已提交
97 98
 </refsect1>
</refentry>
99

T
Thomas G. Lockhart 已提交
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
<!-- 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:
-->