From 5f9dda4c0664faf36fdf931f00e2206dad2d3066 Mon Sep 17 00:00:00 2001 From: Etsuro Fujita Date: Thu, 22 Sep 2022 15:55:05 +0900 Subject: [PATCH] Fix thinko in comment. 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/copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 3d22cf0c62..156b29be74 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -2864,8 +2864,8 @@ CopyFrom(CopyState 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; }