Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY.

This commit is contained in:
Bruce Momjian 2002-08-30 03:18:23 +00:00
parent a4dbbb52c9
commit cafebdd4d8
2 changed files with 18 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.37 2002/08/04 05:22:02 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.38 2002/08/30 03:18:23 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
@ -56,7 +56,7 @@ COPY <replaceable class="parameter">table</replaceable> [ ( <replaceable class="
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="parameter">column</replaceable></term> <term><replaceable class="parameter">column</replaceable></term>
<listitem> <listitem>
<para> <para>
@ -699,6 +699,19 @@ ZW ZIMBABWE
<para> <para>
There is no <command>COPY</command> statement in SQL92. There is no <command>COPY</command> statement in SQL92.
</para> </para>
<para>
The following syntax was used by pre-7.3 servers and is still supported:
<synopsis>
COPY [ BINARY ] <replaceable class="parameter">table</replaceable> [ WITH OIDS ]
FROM { '<replaceable class="parameter">filename</replaceable>' | <filename>stdin</filename> }
[ [USING] DELIMITERS '<replaceable class="parameter">delimiter</replaceable>' ]
[ WITH NULL AS '<replaceable class="parameter">null string</replaceable>' ]
COPY [ BINARY ] <replaceable class="parameter">table</replaceable> [ WITH OIDS ]
TO { '<replaceable class="parameter">filename</replaceable>' | <filename>stdout</filename> }
[ [USING] DELIMITERS '<replaceable class="parameter">delimiter</replaceable>' ]
[ WITH NULL AS '<replaceable class="parameter">null string</replaceable>' ]
</synopsis>
</para>
</refsect2> </refsect2>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.58 2002/08/29 00:17:01 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.59 2002/08/30 03:18:23 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
@ -868,7 +868,8 @@ SELECT name FROM distributors ORDER BY code;
<para> <para>
FOR UPDATE cannot be used in contexts where returned rows can't be clearly FOR UPDATE cannot be used in contexts where returned rows can't be clearly
identified with individual table rows; for example it can't be used with identified with individual table rows; for example it can't be used with
aggregation. aggregation. FOR UPDATE may also appear before LIMIT for portability with
pre-7.3 servers.
</para> </para>
</refsect2> </refsect2>