From: Bruce Momjian Date: Fri, 30 Aug 2002 03:18:23 +0000 (+0000) Subject: Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY. X-Git-Tag: REL7_3~685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cafebdd4d880664a065ae58b7e05fb7a73b36c9a;p=thirdparty%2Fpostgresql.git Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY. --- diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 7048636171e..c5c8fcbb947 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 f6dd0397570..1feaa6f7b48 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.