summaryrefslogtreecommitdiff
path: root/src/include/nodes/pathnodes.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-24 12:52:43 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-24 12:52:43 +0200
commitfb2a83b2b750a32ddfd107a75a3bc173f4f0a81f (patch)
treec509bb1109ab06e6d50812b0c8771e22657e9eea /src/include/nodes/pathnodes.h
parent4a6de748d3429cfa081942c46411d62341867bfd (diff)
Update some comments that should've covered MERGE
Oversight in 7103ebb7aae8. Backpatch to 15. Author: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/CAMbWs48gnDjZXq3-b56dVpQCNUJ5hD9kdtWN4QFwKCEapspNsA@mail.gmail.com
Diffstat (limited to 'src/include/nodes/pathnodes.h')
-rw-r--r--src/include/nodes/pathnodes.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/nodes/pathnodes.h b/src/include/nodes/pathnodes.h
index 8556b2ffe72..540de8a4a7a 100644
--- a/src/include/nodes/pathnodes.h
+++ b/src/include/nodes/pathnodes.h
@@ -268,11 +268,11 @@ struct PlannerInfo
/*
* all_result_relids is empty for SELECT, otherwise it contains at least
- * parse->resultRelation. For UPDATE/DELETE across an inheritance or
- * partitioning tree, the result rel's child relids are added. When using
- * multi-level partitioning, intermediate partitioned rels are included.
- * leaf_result_relids is similar except that only actual result tables,
- * not partitioned tables, are included in it.
+ * parse->resultRelation. For UPDATE/DELETE/MERGE across an inheritance
+ * or partitioning tree, the result rel's child relids are added. When
+ * using multi-level partitioning, intermediate partitioned rels are
+ * included. leaf_result_relids is similar except that only actual result
+ * tables, not partitioned tables, are included in it.
*/
Relids all_result_relids; /* set of all result relids */
Relids leaf_result_relids; /* set of all leaf relids */
@@ -2361,10 +2361,10 @@ typedef struct AppendRelInfo
} AppendRelInfo;
/*
- * Information about a row-identity "resjunk" column in UPDATE/DELETE.
+ * Information about a row-identity "resjunk" column in UPDATE/DELETE/MERGE.
*
- * In partitioned UPDATE/DELETE it's important for child partitions to share
- * row-identity columns whenever possible, so as not to chew up too many
+ * In partitioned UPDATE/DELETE/MERGE it's important for child partitions to
+ * share row-identity columns whenever possible, so as not to chew up too many
* targetlist columns. We use these structs to track which identity columns
* have been requested. In the finished plan, each of these will give rise
* to one resjunk entry in the targetlist of the ModifyTable's subplan node.