Commit 6129de0b authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Remove duplicate entry for R_PLAN (thanks Bruce).

Add entry for undocumented (?) KSQO.
parent 963ed0e7
...@@ -20,7 +20,6 @@ SET ...@@ -20,7 +20,6 @@ SET
<REPLACEABLE CLASS="PARAMETER"> <REPLACEABLE CLASS="PARAMETER">
</REPLACEABLE> </REPLACEABLE>
SET <REPLACEABLE CLASS="PARAMETER">variable</REPLACEABLE> { TO | = } { '<REPLACEABLE CLASS="PARAMETER">value</REPLACEABLE>' | DEFAULT } SET <REPLACEABLE CLASS="PARAMETER">variable</REPLACEABLE> { TO | = } { '<REPLACEABLE CLASS="PARAMETER">value</REPLACEABLE>' | DEFAULT }
SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL }; SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL };
</SYNOPSIS> </SYNOPSIS>
...@@ -52,7 +51,7 @@ New value of parameter. ...@@ -52,7 +51,7 @@ New value of parameter.
</variablelist> </variablelist>
<para> <para>
The possible variables and allowed values are: The possible variables and allowed values are:
<VARIABLELIST> <VARIABLELIST>
<VARLISTENTRY> <VARLISTENTRY>
...@@ -197,16 +196,18 @@ set time zone to your local timezone ...@@ -197,16 +196,18 @@ set time zone to your local timezone
</variablelist> </variablelist>
<para> <para>
If an invalid time zone is specified, the time zone If an invalid time zone is specified, the time zone
becomes GMT (on most systems anyway). becomes GMT (on most systems anyway).
<para> <para>
A frontend which uses libpq may be initialized by setting the PGTZ A frontend which uses libpq may be initialized by setting the PGTZ
environment variable. environment variable.
<para> <para>
The second syntax shown above, allows one to set the timezone The second syntax shown above, allows one to set the timezone
with a syntax similar to SQL92 <command>SET TIME ZONE</command>. with a syntax similar to SQL92 <command>SET TIME ZONE</command>.
The LOCAL keyword is just an alternate form The LOCAL keyword is just an alternate form
of DEFAULT for SQL92 compatibility. of DEFAULT for SQL92 compatibility.
</varlistentry> </varlistentry>
</variablelist> </variablelist>
...@@ -315,7 +316,7 @@ DEFAULT ...@@ -315,7 +316,7 @@ DEFAULT
</term> </term>
<listitem> <listitem>
<para> <para>
Equivalent to specifying <command>SET GEQO=On</command> Equivalent to specifying <command>SET GEQO='on'</command>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
...@@ -361,7 +362,7 @@ DEFAULT ...@@ -361,7 +362,7 @@ DEFAULT
</term> </term>
<listitem> <listitem>
<para> <para>
Equivalent to specifying <command>SET R_PLANS=Off</command>. Equivalent to specifying <command>SET R_PLANS='off'</command>.
</variablelist> </variablelist>
<para> <para>
...@@ -375,11 +376,13 @@ Equivalent to specifying <command>SET R_PLANS=Off</command>. ...@@ -375,11 +376,13 @@ Equivalent to specifying <command>SET R_PLANS=Off</command>.
<varlistentry> <varlistentry>
<term> <term>
R_PLANS KSQO
</term> </term>
<listitem> <listitem>
<para> <para>
Determines whether right-hand plan evaluation is allowed: <firstterm>Key Set Query Optimizer</firstterm> forces the query optimizer
to optimize repetative OR clauses such as generated by
<productname>MicroSoft Access</productname>:
<variablelist> <variablelist>
<varlistentry> <varlistentry>
...@@ -388,7 +391,7 @@ On ...@@ -388,7 +391,7 @@ On
</term> </term>
<listitem> <listitem>
<para> <para>
enables right-hand evaluation of plans. enables this optimization.
<varlistentry> <varlistentry>
<term> <term>
...@@ -396,7 +399,7 @@ Off ...@@ -396,7 +399,7 @@ Off
</term> </term>
<listitem> <listitem>
<para> <para>
disables right-hand evaluation of plans. disables this optimization.
<varlistentry> <varlistentry>
<term> <term>
...@@ -404,7 +407,7 @@ DEFAULT ...@@ -404,7 +407,7 @@ DEFAULT
</term> </term>
<listitem> <listitem>
<para> <para>
Equivalent to specifying <command>SET R_PLANS=Off</command>. Equivalent to specifying <command>SET KSQO='off'</command>.
</variablelist> </variablelist>
<para> <para>
...@@ -430,7 +433,8 @@ Value ...@@ -430,7 +433,8 @@ Value
</term> </term>
<listitem> <listitem>
<para> <para>
Maximum number of rows to return for a query. The default is unlimited. Maximum number of rows to return for a query. The default is to allow
an unlimited number of rows.
<varlistentry> <varlistentry>
<term> <term>
<replaceable class="parameter">#</replaceable> <replaceable class="parameter">#</replaceable>
...@@ -445,12 +449,12 @@ DEFAULT ...@@ -445,12 +449,12 @@ DEFAULT
</term> </term>
<listitem> <listitem>
<para> <para>
Sets the number of rows returned by a query to unlimited. Sets the maximum number of rows returned by a query to be unlimited.
</varlistentry> </varlistentry>
<para> <para>
By default, there is no limit to the number of rows By default, there is no limit to the number of rows
returned by a query. returned by a query.
</variablelist> </variablelist>
</VARLISTENTRY> </VARLISTENTRY>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment