Remove PartitionRoutingInfo struct.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +2 −2 |
| src/backend/executor/execMain.c | modified | +3 −1 |
| src/backend/executor/execPartition.c | modified | +17 −17 |
| src/backend/executor/nodeModifyTable.c | modified | +9 −12 |
| src/backend/replication/logical/worker.c | modified | +4 −7 |
| src/include/executor/execPartition.h | modified | +0 −21 |
| src/include/nodes/execnodes.h | modified | +10 −5 |
Discussion
- partition routing layering in nodeModifyTable.c 84 messages · 2019-07-18 → 2020-10-30