diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 7048636171e1738bbf4c97586f14acd293d1353e..c5c8fcbb94749ec536c72c01757f66fe23b20c2b 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -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 --> @@ -56,7 +56,7 @@ COPY <replaceable class="parameter">table</replaceable> [ ( <replaceable class=" </listitem> </varlistentry> - <varlistentry> + <varlistentry> <term><replaceable class="parameter">column</replaceable></term> <listitem> <para> @@ -699,6 +699,19 @@ ZW ZIMBABWE <para> There is no <command>COPY</command> statement in SQL92. </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> </refsect1> </refentry> diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index f6dd0397570a318f3aca20cd509b6450ae0eee87..1feaa6f7b480211707a1e07e129f9c7b2ef46db8 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -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 --> @@ -868,7 +868,8 @@ SELECT name FROM distributors ORDER BY code; <para> 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. </para> </refsect2>