diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-02-26 17:05:46 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-02-26 17:05:46 -0300 |
commit | 364de256651458f2442811bae10b0c808bc00a98 (patch) | |
tree | 561d225df8c9ab15d724f3432272008ca920f8bd | |
parent | fb533e45f91796875939a63e7554efff0da3c8e5 (diff) | |
download | postgresql-364de256651458f2442811bae10b0c808bc00a98.tar.gz postgresql-364de256651458f2442811bae10b0c808bc00a98.zip |
Update PartitionTupleRouting struct comment
Small review on edd44738bc88.
Discussion: https://postgr.es/m/20180222165315.k27qfn4goskhoswj@alvherre.pgsql
Reviewed-by: Robert Haas, Amit Langote
-rw-r--r-- | src/include/executor/execPartition.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/executor/execPartition.h b/src/include/executor/execPartition.h index e94718608fb..03a599ad57a 100644 --- a/src/include/executor/execPartition.h +++ b/src/include/executor/execPartition.h @@ -58,11 +58,15 @@ typedef struct PartitionDispatchData *PartitionDispatch; * partition tree. * num_dispatch number of partitioned tables in the partition * tree (= length of partition_dispatch_info[]) - * partition_oids Array of leaf partitions OIDs + * partition_oids Array of leaf partitions OIDs with one entry + * for every leaf partition in the partition tree, + * initialized in full by + * ExecSetupPartitionTupleRouting. * partitions Array of ResultRelInfo* objects with one entry - * for every leaf partition in the partition tree. + * for every leaf partition in the partition tree, + * initialized lazily by ExecInitPartitionInfo. * num_partitions Number of leaf partitions in the partition tree - * (= 'partitions' array length) + * (= 'partitions_oid'/'partitions' array length) * parent_child_tupconv_maps Array of TupleConversionMap objects with one * entry for every leaf partition (required to * convert tuple from the root table's rowtype to |