Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Added literal tag for RETURNING
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 12 Jan 2024 11:44:20 +0000 (12:44 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 12 Jan 2024 11:44:20 +0000 (12:44 +0100)
This is an old mistake (92e38182d7c8); backpatch all the way back.

Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com>
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://postgr.es/m/c0aa00b60a16c0ea2a4c5123b013acb9@oss.nttdata.com

doc/src/sgml/ref/copy.sgml

index 4624c8f4c98611e59beb8849ed7850e16b9cfe0f..9055d4e67568feb4f00c2f661ff22c8f4bd29d1b 100644 (file)
@@ -127,10 +127,10 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
      </para>
      <para>
       For <command>INSERT</command>, <command>UPDATE</command> and
-      <command>DELETE</command> queries a RETURNING clause must be provided,
-      and the target relation must not have a conditional rule, nor
-      an <literal>ALSO</literal> rule, nor an <literal>INSTEAD</literal> rule
-      that expands to multiple statements.
+      <command>DELETE</command> queries a <literal>RETURNING</literal> clause
+      must be provided, and the target relation must not have a conditional
+      rule, nor an <literal>ALSO</literal> rule, nor an
+      <literal>INSTEAD</literal> rule that expands to multiple statements.
      </para>
     </listitem>
    </varlistentry>