From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up MergeAttributesIntoExisting()
Date: Tue, 26 Sep 2023 08:46:26 +0000
Message-ID: <E1ql3i5-0061pp-Vs@gemulon.postgresql.org> (raw)
Clean up MergeAttributesIntoExisting()
Make variable naming clearer and more consistent. Move some variables
to smaller scope. Remove some unnecessary intermediate variables.
Try to save some vertical space.
Apply analogous changes to nearby MergeConstraintsIntoExisting() and
RemoveInheritance() for consistency.
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/eddad679d2ab6d7369767d1c2f01fdbe76afbce3
Modified Files
--------------
src/backend/commands/tablecmds.c | 123 +++++++++++++++------------------------
1 file changed, 48 insertions(+), 75 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Clean up MergeAttributesIntoExisting()
In-Reply-To: <E1ql3i5-0061pp-Vs@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox