Fix some markup, but probably not finished yet...
This commit is contained in:
parent
a4ac2f458e
commit
1e723ff015
|
@ -18,9 +18,8 @@
|
|||
<date>1998-09-24</date>
|
||||
</refsynopsisdivinfo>
|
||||
<synopsis>
|
||||
SET <replaceable class="PARAMETER">variable</replaceable> { TO | = } {
|
||||
'<replaceable class="PARAMETER">value</replaceable>' | DEFAULT }
|
||||
SET TIME ZONE { '<replaceable class="PARAMETER">timezone</replaceable>' | LOCAL | DEFAULT };
|
||||
SET <replaceable class="PARAMETER">variable</replaceable> { TO | = } { '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT }
|
||||
SET TIME ZONE { '<replaceable class="PARAMETER">timezone</replaceable>' | LOCAL | DEFAULT }
|
||||
SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
||||
</synopsis>
|
||||
|
||||
|
@ -67,7 +66,7 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Sets the multi-byte client encoding
|
||||
Sets the multi-byte client encoding. Parameters are:
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
|
@ -89,7 +88,7 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Sets the multi-byte client encoding.
|
||||
Sets the multi-byte client encoding to the default value.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -108,6 +107,9 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set the date/time representation style. Affects the output format,
|
||||
and in some cases it can affect the interpretation of input.
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
|
@ -193,14 +195,14 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
</para>
|
||||
|
||||
<para>
|
||||
Date format initialization my be done by:
|
||||
Date format initialization may be done by:
|
||||
<simplelist>
|
||||
<member>
|
||||
Setting PGDATESTYLE environment variable.
|
||||
Setting the <envar>PGDATESTYLE</envar> environment variable.
|
||||
</member>
|
||||
<member>
|
||||
Running postmaster using -oe parameter to set
|
||||
dates to the 'European' convention.
|
||||
Running postmaster using the <option>-oe</option> parameter to set
|
||||
dates to the <literal>European</literal> convention.
|
||||
Note that this affects only the some combinations of date styles; for example
|
||||
the ISO style is not affected by this parameter.
|
||||
</member>
|
||||
|
@ -628,9 +630,7 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<returnvalue>WARN: Bad value for
|
||||
<replaceable class="parameter">variable</replaceable>
|
||||
(<replaceable class="parameter">value</replaceable>)</returnvalue>
|
||||
<returnvalue>WARN: Bad value for <replaceable class="parameter">variable</replaceable> (<replaceable class="parameter">value</replaceable>)</returnvalue>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
@ -694,43 +694,46 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
|
|||
Usage
|
||||
</title>
|
||||
<para>
|
||||
</para>
|
||||
Set the style of date to ISO:
|
||||
|
||||
<programlisting>
|
||||
--Set the style of date to ISO:
|
||||
--
|
||||
SET DATESTYLE TO 'ISO';
|
||||
</programlisting>
|
||||
|
||||
Enable GEQO for queries with 4 or more tables:
|
||||
|
||||
<programlisting>
|
||||
--Enable GEQO for queries with 4 or more tables
|
||||
--
|
||||
SET GEQO ON=4;
|
||||
</programlisting>
|
||||
|
||||
Set GEQO to default:
|
||||
|
||||
<programlisting>
|
||||
--Set GEQO to default:
|
||||
--
|
||||
SET GEQO = DEFAULT;
|
||||
</programlisting>
|
||||
<programlisting>
|
||||
--set the timezone for Berkeley, California:
|
||||
SET TIME ZONE 'PST8PDT';
|
||||
|
||||
Set the timezone for Berkeley, California:
|
||||
|
||||
<programlisting>
|
||||
SET TIME ZONE 'PST8PDT';
|
||||
SELECT CURRENT_TIMESTAMP AS today;
|
||||
|
||||
today
|
||||
----------------------
|
||||
1998-03-31 07:41:21-08
|
||||
</programlisting>
|
||||
<programlisting>
|
||||
--set the timezone for Italy:
|
||||
SET TIME ZONE 'Europe/Rome';
|
||||
|
||||
Set the timezone for Italy:
|
||||
|
||||
<programlisting>
|
||||
SET TIME ZONE 'Europe/Rome';
|
||||
SELECT CURRENT_TIMESTAMP AS today;
|
||||
|
||||
today
|
||||
----------------------
|
||||
1998-03-31 17:41:31+02
|
||||
</programlisting>
|
||||
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id="R1-SQL-SET-3">
|
||||
|
|
Loading…
Reference in New Issue