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 18ecc69c337d987bae48952b84ed06ec483eedb7..e2ffbbdf84e146a1e97dd81f6b3389ae94b01eb0 100644 (file)
@@ -128,10 +128,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>