]> granicus.if.org Git - postgresql/blob - doc/src/sgml/ref/reset.sgml
Minor updates for release.
[postgresql] / doc / src / sgml / ref / reset.sgml
1 <refentry id="SQL-RESET">
2  <refmeta>
3   <refentrytitle>
4    RESET
5   </refentrytitle>
6   <refmiscinfo>SQL - Language Statements</refmiscinfo>
7  </refmeta>
8  <refnamediv>
9   <refname>
10    RESET
11   </refname>
12   <refpurpose>
13    Restores run-time parameters for session to default values
14   </refpurpose>
15  </refnamediv>
16  <refsynopsisdiv>
17   <refsynopsisdivinfo>
18    <date>1998-09-24</date>
19   </refsynopsisdivinfo>
20   <synopsis>
21 RESET <replaceable class="PARAMETER">variable</replaceable>
22   </synopsis>
23
24   <refsect2 id="R2-SQL-RESET-1">
25    <refsect2info>
26     <date>1998-09-24</date>
27    </refsect2info>
28    <title>
29     Inputs
30    </title>
31    <para>               
32     <variablelist>
33      <varlistentry>
34       <term>
35        <replaceable class="PARAMETER">variable</replaceable>
36       </term>
37       <listitem>
38        <para>
39         Refer to the SET statement for more information on available
40         variables.
41        </para>
42       </listitem>
43      </varlistentry>
44     </variablelist>
45    </para>
46   </refsect2>
47
48   <refsect2 id="R2-SQL-RESET-2">
49    <refsect2info>
50     <date>1998-09-24</date>
51    </refsect2info>
52    <title>
53     Outputs
54    </title>
55    <para>
56
57     <variablelist>
58      <varlistentry>
59       <term>
60        RESET VARIABLE
61       </term>
62       <listitem>
63        <para>
64         Message returned if 
65         <replaceable class="PARAMETER">variable</replaceable> is successfully reset
66         to its default value..
67        </para>
68       </listitem>
69      </varlistentry>
70     </variablelist>
71    </para>
72   </refsect2>
73  </refsynopsisdiv>
74   
75  <refsect1 id="R1-SQL-RESET-1">
76   <refsect1info>
77    <date>1998-09-24</date>
78   </refsect1info>
79   <title>
80    Description
81   </title>
82   <para>
83    <command>RESET</command> restores variables to the
84    default values.
85    Refer to the <command>SET</command> command for details on
86    allowed values and defaults.
87    <command>RESET</command> is an alternate form for
88    <command>SET <replaceable class="parameter">variable</replaceable> = DEFAULT</command>
89   </para>
90
91   <refsect2 id="R2-SQL-RESET-3">
92    <refsect2info>
93     <date>1998-09-24</date>
94    </refsect2info>
95    <title>
96     Notes
97    </title>
98    <para>
99     The RESET statement is a <productname>Postgres</productname>
100     language extension.
101    </para>
102    <para>
103     Refer to SET/SHOW statements to set/show variable values.
104    </para>
105   </refsect2>
106  </refsect1>
107   
108  <refsect1 id="R1-SQL-RESET-2">
109   <title>
110    Usage
111   </title>
112   <para>
113    <programlisting>
114 -- reset DateStyle to its default;
115 RESET DateStyle;
116    </programlisting>
117    <programlisting>   
118 -- reset Geqo to its default;
119 RESET GEQO;
120    </programlisting>
121   </para>
122  </refsect1>
123
124  <refsect1 id="R1-SQL-RESET-3">
125   <title>
126    Compatibility
127   </title>
128
129   <refsect2 id="R2-SQL-RESET-4">
130    <refsect2info>
131     <date>1998-09-24</date>
132    </refsect2info>
133    <title>
134     SQL92
135    </title>
136    <para>
137     There is no <command>RESET</command> in <acronym>SQL92</acronym>.
138    </para>
139   </refsect2>
140  </refsect1>
141 </refentry>
142
143 <!-- Keep this comment at the end of the file
144 Local variables:
145 mode: sgml
146 sgml-omittag:nil
147 sgml-shorttag:t
148 sgml-minimize-attributes:nil
149 sgml-always-quote-attributes:t
150 sgml-indent-step:1
151 sgml-indent-data:t
152 sgml-parent-document:nil
153 sgml-default-dtd-file:"../reference.ced"
154 sgml-exposed-tags:nil
155 sgml-local-catalogs:"/usr/lib/sgml/catalog"
156 sgml-local-ecat-files:nil
157 End:
158 -->