From: Peter Eisentraut Date: Thu, 14 Mar 2019 21:44:21 +0000 (+0100) Subject: Improve code comment X-Git-Tag: REL_12_BETA1~535 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61dc407893600f551dbcbc235d1dccd134f43da0;p=postgresql Improve code comment --- diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index a0ea4f6c38..218a6e01cb 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -2911,9 +2911,13 @@ CopyFrom(CopyState cstate) if (!skip_tuple) { + /* + * If there is an INSTEAD OF INSERT ROW trigger, let it handle the + * tuple. Otherwise, proceed with inserting the tuple into the + * table or foreign table. + */ if (has_instead_insert_row_trig) { - /* Pass the data to the INSTEAD ROW INSERT trigger */ ExecIRInsertTriggers(estate, resultRelInfo, slot); } else