pgsql: Remove PartitionRoutingInfo struct.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove PartitionRoutingInfo struct.
Date: 2020-10-19 11:43:59
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2020-10-19 11:49:25 pgsql: Update link for pllua
Previous Message Magnus Hagander 2020-10-19 11:40:42 Re: pgsql: Change the docs for PARALLEL option of Vacuum.