Skip to content

Commit 61dc407

Browse files
committed
Improve code comment
1 parent 8bee367 commit 61dc407

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/backend/commands/copy.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,9 +2911,13 @@ CopyFrom(CopyState cstate)
29112911

29122912
if (!skip_tuple)
29132913
{
2914+
/*
2915+
* If there is an INSTEAD OF INSERT ROW trigger, let it handle the
2916+
* tuple. Otherwise, proceed with inserting the tuple into the
2917+
* table or foreign table.
2918+
*/
29142919
if (has_instead_insert_row_trig)
29152920
{
2916-
/* Pass the data to the INSTEAD ROW INSERT trigger */
29172921
ExecIRInsertTriggers(estate, resultRelInfo, slot);
29182922
}
29192923
else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy