summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHeikki Linnakangas2020-11-23 09:36:13 +0000
committerHeikki Linnakangas2020-11-23 09:36:13 +0000
commit68b1a4877ef54f5ee6e05c64876655dd13d2c73b (patch)
treee6070f804376d6a02a94ac5f991d6c049005d661 /src/include
parentc532d15dddff14b01fe9ef1d465013cb8ef186df (diff)
Fix a few comments that referred to copy.c.
Missed these in the previous commit.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/commands/trigger.h6
-rw-r--r--src/include/nodes/execnodes.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index e38d732ed47..244540d90b9 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -44,7 +44,7 @@ typedef struct TriggerData
/*
* The state for capturing old and new tuples into transition tables for a
- * single ModifyTable node (or other operation source, e.g. copy.c).
+ * single ModifyTable node (or other operation source, e.g. copyfrom.c).
*
* This is per-caller to avoid conflicts in setting
* tcs_original_insert_tuple. Note, however, that the pointed-to
@@ -69,8 +69,8 @@ typedef struct TransitionCaptureState
* For INSERT and COPY, it would be wasteful to convert tuples from child
* format to parent format after they have already been converted in the
* opposite direction during routing. In that case we bypass conversion
- * and allow the inserting code (copy.c and nodeModifyTable.c) to provide
- * a slot containing the original tuple directly.
+ * and allow the inserting code (copyfrom.c and nodeModifyTable.c) to
+ * provide a slot containing the original tuple directly.
*/
TupleTableSlot *tcs_original_insert_tuple;
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index 6c0a7d68d61..f6824bf2e1b 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -498,7 +498,7 @@ typedef struct ResultRelInfo
*/
TupleConversionMap *ri_ChildToRootMap;
- /* for use by copy.c when performing multi-inserts */
+ /* for use by copyfrom.c when performing multi-inserts */
struct CopyMultiInsertBuffer *ri_CopyMultiInsertBuffer;
} ResultRelInfo;