aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/plannodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes/plannodes.h')
-rw-r--r--src/include/nodes/plannodes.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index 8143744e89c..06d9559ebb9 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -281,7 +281,11 @@ typedef struct Append
*/
int first_partial_plan;
- /* Index to PlannerInfo.partPruneInfos or -1 if no run-time pruning */
+ /*
+ * Index into PlannedStmt.partPruneInfos and parallel lists in EState:
+ * es_part_prune_states and es_part_prune_results. Set to -1 if no
+ * run-time pruning is used.
+ */
int part_prune_index;
} Append;
@@ -316,7 +320,11 @@ typedef struct MergeAppend
/* NULLS FIRST/LAST directions */
bool *nullsFirst pg_node_attr(array_size(numCols));
- /* Index to PlannerInfo.partPruneInfos or -1 if no run-time pruning */
+ /*
+ * Index into PlannedStmt.partPruneInfos and parallel lists in EState:
+ * es_part_prune_states and es_part_prune_results. Set to -1 if no
+ * run-time pruning is used.
+ */
int part_prune_index;
} MergeAppend;