From cafebdd4d880664a065ae58b7e05fb7a73b36c9a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 30 Aug 2002 03:18:23 +0000 Subject: [PATCH] Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY. --- doc/src/sgml/ref/copy.sgml | 17 +++++++++++++++-- doc/src/sgml/ref/select.sgml | 5 +++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 7048636171..c5c8fcbb94 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -1,5 +1,5 @@ @@ -56,7 +56,7 @@ COPY table [ ( column @@ -699,6 +699,19 @@ ZW ZIMBABWE There is no COPY statement in SQL92. + + The following syntax was used by pre-7.3 servers and is still supported: + + COPY [ BINARY ] table [ WITH OIDS ] + FROM { 'filename' | stdin } + [ [USING] DELIMITERS 'delimiter' ] + [ WITH NULL AS 'null string' ] + COPY [ BINARY ] table [ WITH OIDS ] + TO { 'filename' | stdout } + [ [USING] DELIMITERS 'delimiter' ] + [ WITH NULL AS 'null string' ] + + diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index f6dd039757..1feaa6f7b4 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -1,5 +1,5 @@ @@ -868,7 +868,8 @@ SELECT name FROM distributors ORDER BY code; 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 - aggregation. + aggregation. FOR UPDATE may also appear before LIMIT for portability with + pre-7.3 servers. -- 2.11.0