Thread: pgsql: Remove PartitionRoutingInfo struct.
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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fb5883da86154c3126264bfd97b0cd6f293bcebd Modified Files -------------- src/backend/commands/copy.c | 4 ++-- src/backend/executor/execMain.c | 4 +++- src/backend/executor/execPartition.c | 34 ++++++++++++++++---------------- src/backend/executor/nodeModifyTable.c | 21 +++++++++----------- src/backend/replication/logical/worker.c | 11 ++++------- src/include/executor/execPartition.h | 21 -------------------- src/include/nodes/execnodes.h | 15 +++++++++----- 7 files changed, 45 insertions(+), 65 deletions(-)