Skip to content

Commit 364de25

Browse files
committed
Update PartitionTupleRouting struct comment
Small review on edd4473. Discussion: https://postgr.es/m/20180222165315.k27qfn4goskhoswj@alvherre.pgsql Reviewed-by: Robert Haas, Amit Langote
1 parent fb533e4 commit 364de25

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/include/executor/execPartition.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,15 @@ typedef struct PartitionDispatchData *PartitionDispatch;
5858
* partition tree.
5959
* num_dispatch number of partitioned tables in the partition
6060
* tree (= length of partition_dispatch_info[])
61-
* partition_oids Array of leaf partitions OIDs
61+
* partition_oids Array of leaf partitions OIDs with one entry
62+
* for every leaf partition in the partition tree,
63+
* initialized in full by
64+
* ExecSetupPartitionTupleRouting.
6265
* partitions Array of ResultRelInfo* objects with one entry
63-
* for every leaf partition in the partition tree.
66+
* for every leaf partition in the partition tree,
67+
* initialized lazily by ExecInitPartitionInfo.
6468
* num_partitions Number of leaf partitions in the partition tree
65-
* (= 'partitions' array length)
69+
* (= 'partitions_oid'/'partitions' array length)
6670
* parent_child_tupconv_maps Array of TupleConversionMap objects with one
6771
* entry for every leaf partition (required to
6872
* convert tuple from the root table's rowtype to

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy