reset.sgml 2.2 KB
Newer Older
1
<!--
2
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reset.sgml,v 1.10 2000/12/25 23:15:26 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 13
  <refname>RESET</refname>
  <refpurpose>Restores run-time parameters to default values</refpurpose>
T
Thomas G. Lockhart 已提交
14 15 16 17 18
 </refnamediv>
 <refsynopsisdiv>
  <synopsis>
RESET <replaceable class="PARAMETER">variable</replaceable>
  </synopsis>
19

T
Thomas G. Lockhart 已提交
20
  <refsect2 id="R2-SQL-RESET-1">
21
   <title>Inputs</title>
T
Thomas G. Lockhart 已提交
22 23 24
   <para>		
    <variablelist>
     <varlistentry>
25
      <term><replaceable class="PARAMETER">variable</replaceable></term>
T
Thomas G. Lockhart 已提交
26 27
      <listitem>
       <para>
28
	The name of a run-time parameter. See <xref
29
	linkend="sql-set" endterm="sql-set-title"> for a list.
T
Thomas G. Lockhart 已提交
30 31 32 33 34 35
       </para>
      </listitem>
     </varlistentry>
    </variablelist>
   </para>
  </refsect2>
36

T
Thomas G. Lockhart 已提交
37
 </refsynopsisdiv>
38
  
39 40
 <refsect1>
  <title>Description</title>
T
Thomas G. Lockhart 已提交
41
  <para>
42 43
   <command>RESET</command> restores run-time parameters to their
   default values. Refer to
44
   <xref linkend="sql-set" endterm="sql-set-title">
45
   for details. <command>RESET</command> is an alternate form for
46 47

   <synopsis>
48
SET <replaceable class="parameter">variable</replaceable> TO DEFAULT
49
   </synopsis>
T
Thomas G. Lockhart 已提交
50
  </para>
51
 </refsect1>
52

53 54 55
 <refsect1>
  <title>Diagnostics</title>
  <para>
56
   See under the <xref linkend="sql-set"
57 58
   endterm="sql-set-title"> command.
  </para>
T
Thomas G. Lockhart 已提交
59
 </refsect1>
60 61 62

 <refsect1>
  <title>Examples</title>
T
Thomas G. Lockhart 已提交
63
  <para>
64 65
   Set DateStyle to its default value:

66
<screen>
T
Thomas G. Lockhart 已提交
67
RESET DateStyle;
68
</screen>
69 70 71 72 73
  </para>

  <para>
   Set Geqo to its default value:

74
<screen>   
T
Thomas G. Lockhart 已提交
75
RESET GEQO;
76
</screen>
T
Thomas G. Lockhart 已提交
77 78 79
  </para>
 </refsect1>

80 81
 <refsect1>
  <title>Compatibility</title>
82

83 84 85
  <para>
   <command>RESET</command> is a <productname>Postgres</productname> extension.
  </para>
T
Thomas G. Lockhart 已提交
86 87
 </refsect1>
</refentry>
88

T
Thomas G. Lockhart 已提交
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
<!-- 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:
-->