mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 10:01:17 +02:00
Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY.
This commit is contained in:
parent
a4dbbb52c9
commit
cafebdd4d8
@ -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
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -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>
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user