mirror of
https://github.com/postgres/postgres.git
synced 2026-01-13 12:22:55 +03:00
Remove PartitionRoutingInfo struct.
The extra indirection neeeded to access its members via its enclosing ResultRelInfo seems pointless. Move all the fields from PartitionRoutingInfo to ResultRelInfo. Author: Amit Langote Reviewed-by: Alvaro Herrera Discussion: https://www.postgresql.org/message-id/CA%2BHiwqFViT47Zbr_ASBejiK7iDG8%3DQ1swQ-tjM6caRPQ67pT%3Dw%40mail.gmail.com
This commit is contained in:
@@ -22,27 +22,6 @@
|
||||
typedef struct PartitionDispatchData *PartitionDispatch;
|
||||
typedef struct PartitionTupleRouting PartitionTupleRouting;
|
||||
|
||||
/*
|
||||
* PartitionRoutingInfo
|
||||
*
|
||||
* Additional result relation information specific to routing tuples to a
|
||||
* table partition.
|
||||
*/
|
||||
typedef struct PartitionRoutingInfo
|
||||
{
|
||||
/*
|
||||
* Map for converting tuples in root partitioned table format into
|
||||
* partition format, or NULL if no conversion is required.
|
||||
*/
|
||||
TupleConversionMap *pi_RootToPartitionMap;
|
||||
|
||||
/*
|
||||
* Slot to store tuples in partition format, or NULL when no translation
|
||||
* is required between root and partition.
|
||||
*/
|
||||
TupleTableSlot *pi_PartitionTupleSlot;
|
||||
} PartitionRoutingInfo;
|
||||
|
||||
/*
|
||||
* PartitionedRelPruningData - Per-partitioned-table data for run-time pruning
|
||||
* of partitions. For a multilevel partitioned table, we have one of these
|
||||
|
||||
Reference in New Issue
Block a user