Missed these in the previous commit.
return;
if (errorAbort)
pq_putbytes("\n\n\\.\n", 5);
- /* in non-error case, copy.c will have emitted the terminator line */
+ /* in non-error case, copyto.c will have emitted the terminator line */
DoingCopyOut = false;
}
/*
* 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
* 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;
*/
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;
copy parent (a, b) from stdin;
NOTICE: trigger = parent_insert_trig, new table = (AAA,42), (BBB,42), (CCC,42)
-- same behavior for copy if there is an index (interesting because rows are
--- captured by a different code path in copy.c if there are indexes)
+-- captured by a different code path in copyfrom.c if there are indexes)
create index on parent(b);
copy parent (a, b) from stdin;
NOTICE: trigger = parent_insert_trig, new table = (DDD,42)
\.
-- same behavior for copy if there is an index (interesting because rows are
--- captured by a different code path in copy.c if there are indexes)
+-- captured by a different code path in copyfrom.c if there are indexes)
create index on parent(b);
copy parent (a, b) from stdin;
DDD 42