pgsql: Refactor code for cross-partition updates to a separate function - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Refactor code for cross-partition updates to a separate function
Date
Msg-id E1kT3x6-0001Gu-Ri@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Refactor code for cross-partition updates to a separate function.

ExecUpdate() is very long, so extract the part of it that deals with
cross-partition updates to a separate function to make it more readable.
Per Andres Freund's suggestion.

Author: Amit Langote
Discussion:
https://www.postgresql.org/message-id/CA%2BHiwqEUgb5RdUgxR7Sqco4S09jzJstHiaT2vnCRPGR4JCAPqA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c5b097f8fa69861ab83470c0bfe732ab90df9e62

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 265 ++++++++++++++++++++-------------
1 file changed, 158 insertions(+), 107 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix query in new test to check tables are synced
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Review logical replication tablesync code