Content-Length: 265000 | pFad | http://github.com/postgrespro/postgres_cluster/commit/61dc407893600f551dbcbc235d1dccd134f43da0

96 Improve code comment · postgrespro/postgres_cluster@61dc407 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/61dc407893600f551dbcbc235d1dccd134f43da0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy