summaryrefslogtreecommitdiff
path: root/src/include/nodes/pathnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes/pathnodes.h')
-rw-r--r--src/include/nodes/pathnodes.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/include/nodes/pathnodes.h b/src/include/nodes/pathnodes.h
index 45cbf6045a..8f62d61702 100644
--- a/src/include/nodes/pathnodes.h
+++ b/src/include/nodes/pathnodes.h
@@ -601,9 +601,6 @@ typedef struct PartitionSchemeData *PartitionScheme;
* part_rels - RelOptInfos for each partition
* all_partrels - Relids set of all partition relids
* partexprs, nullable_partexprs - Partition key expressions
- * partitioned_child_rels - RT indexes of unpruned partitions of
- * this relation that are partitioned tables
- * themselves, in hierarchical order
*
* The partexprs and nullable_partexprs arrays each contain
* part_scheme->partnatts elements. Each of the elements is a list of
@@ -751,7 +748,6 @@ typedef struct RelOptInfo
Relids all_partrels; /* Relids set of all partition relids */
List **partexprs; /* Non-nullable partition key expressions */
List **nullable_partexprs; /* Nullable partition key expressions */
- List *partitioned_child_rels; /* List of RT indexes */
} RelOptInfo;
/*
@@ -1401,8 +1397,9 @@ typedef struct CustomPath
typedef struct AppendPath
{
Path path;
- /* RT indexes of non-leaf tables in a partition tree */
- List *partitioned_rels;
+ List *partitioned_rels; /* List of Relids containing RT indexes of
+ * non-leaf tables for each partition
+ * hierarchy whose paths are in 'subpaths' */
List *subpaths; /* list of component Paths */
/* Index of first partial path in subpaths; list_length(subpaths) if none */
int first_partial_path;
@@ -1427,8 +1424,9 @@ extern bool is_dummy_rel(RelOptInfo *rel);
typedef struct MergeAppendPath
{
Path path;
- /* RT indexes of non-leaf tables in a partition tree */
- List *partitioned_rels;
+ List *partitioned_rels; /* List of Relids containing RT indexes of
+ * non-leaf tables for each partition
+ * hierarchy whose paths are in 'subpaths' */
List *subpaths; /* list of component Paths */
double limit_tuples; /* hard limit on output tuples, or -1 */
} MergeAppendPath;