Improve code comment

This commit is contained in:
Peter Eisentraut 2019-03-14 22:44:21 +01:00
parent 8bee36708f
commit 61dc407893
1 changed files with 5 additions and 1 deletions

View File

@ -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