@@ -328,11 +328,11 @@ struct PlannerInfo
328
328
329
329
/*
330
330
* all_result_relids is empty for SELECT, otherwise it contains at least
331
- * parse->resultRelation. For UPDATE/DELETE across an inheritance or
332
- * partitioning tree, the result rel's child relids are added. When using
333
- * multi-level partitioning, intermediate partitioned rels are included.
334
- * leaf_result_relids is similar except that only actual result tables,
335
- * not partitioned tables, are included in it.
331
+ * parse->resultRelation. For UPDATE/DELETE/MERGE across an inheritance
332
+ * or partitioning tree, the result rel's child relids are added. When
333
+ * using multi-level partitioning, intermediate partitioned rels are
334
+ * included. leaf_result_relids is similar except that only actual result
335
+ * tables, not partitioned tables, are included in it.
336
336
*/
337
337
/* set of all result relids */
338
338
Relids all_result_relids ;
@@ -2792,10 +2792,10 @@ typedef struct AppendRelInfo
2792
2792
} AppendRelInfo ;
2793
2793
2794
2794
/*
2795
- * Information about a row-identity "resjunk" column in UPDATE/DELETE.
2795
+ * Information about a row-identity "resjunk" column in UPDATE/DELETE/MERGE .
2796
2796
*
2797
- * In partitioned UPDATE/DELETE it's important for child partitions to share
2798
- * row-identity columns whenever possible, so as not to chew up too many
2797
+ * In partitioned UPDATE/DELETE/MERGE it's important for child partitions to
2798
+ * share row-identity columns whenever possible, so as not to chew up too many
2799
2799
* targetlist columns. We use these structs to track which identity columns
2800
2800
* have been requested. In the finished plan, each of these will give rise
2801
2801
* to one resjunk entry in the targetlist of the ModifyTable's subplan node.
0 commit comments