v2_small_fix_on_copy_doc.patch

text/x-diff

Filename: v2_small_fix_on_copy_doc.patch
Type: text/x-diff
Part: 0
Message: Re: Small fix on COPY ON_ERROR document

Patch

Format: unified
Series: patch v2
File+
doc/src/sgml/ref/copy.sgml 4 3
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index 21a5c4a052..3676bf0e87 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -576,9 +576,10 @@ COPY <replaceable class="parameter">count</replaceable>
    </para>
 
    <para>
-    <command>COPY</command> stops operation at the first error when
-    <literal>ON_ERROR</literal> is not specified. This
-    should not lead to problems in the event of a <command>COPY
+    <command>COPY</command> stops operation at the first error unless the error
+    is due to data type incompatibility and a value other than
+    <literal>stop</literal> is specified to the <literal>ON_ERROR</literal> option.
+    This should not lead to problems in the event of a <command>COPY
     TO</command>, but the target table will already have received
     earlier rows in a <command>COPY FROM</command>. These rows will not
     be visible or accessible, but they still occupy disk space. This might