projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bee367
)
Improve code comment
author
Peter Eisentraut
<
[email protected]
>
Thu, 14 Mar 2019 21:44:21 +0000
(22:44 +0100)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 14 Mar 2019 21:44:21 +0000
(22:44 +0100)
src/backend/commands/copy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/copy.c
b/src/backend/commands/copy.c
index a0ea4f6c3837b46745aa2128d887d73e2e238f51..218a6e01cbb1559602cc66221acf0be4f9d4f148 100644
(file)
--- 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