pgsql: Remove PartitionRoutingInfo struct. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Remove PartitionRoutingInfo struct.
Date
Msg-id E1kUTa3-0000Os-9g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgsql: Change the docs for PARALLEL option of Vacuum.
Next
From: Magnus Hagander
Date:
Subject: pgsql: Update link for pllua