Fix thinko in comment.
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 22 Sep 2022 06:55:00 +0000 (15:55 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 22 Sep 2022 06:55:00 +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 e8bb168aea89b81cd6626f751484e39d93a6f354..175aa837f2effe92dd4d0149bff191830ba08245 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;
    }