Fix thinko in comment.
authorEtsuro Fujita
Thu, 22 Sep 2022 06:55:01 +0000 (15:55 +0900)
committerEtsuro Fujita
Thu, 22 Sep 2022 06:55:01 +0000 (15:55 +0900)
This comment has been wrong since its introduction in commit 0d5f05cde;
backpatch to v12 where that came in.

Discussion: https://postgr.es/m/CAPmGK14VGf-xQjGQN4o1QyAbXAaxugU5%3DqfcmTDh1iufUDnV_w%40mail.gmail.com

src/backend/commands/copyfrom.c

index 35a1d3a774e7fddfa5787506c8d9e3da21ff46b4..763cfb237285e79cc1bf2639ad2f9716248c62a9 100644 (file)
@@ -732,8 +732,8 @@ CopyFrom(CopyFromState cstate)
         * For partitioned tables we can't support multi-inserts when there
         * are any statement level insert triggers. It might be possible to
         * allow partitioned tables with such triggers in the future, but for
-        * now, CopyMultiInsertInfoFlush expects that any before row insert
-        * and statement level insert triggers are on the same relation.
+        * now, CopyMultiInsertInfoFlush expects that any after row insert and
+        * statement level insert triggers are on the same relation.
         */
        insertMethod = CIM_SINGLE;
    }