pgsql: MergeAttributes code deduplication

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: MergeAttributes code deduplication
Date: 2024-01-26 10:08:59
Message-ID: E1rTJ8t-003BiM-6m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

MergeAttributes code deduplication

The code handling NOT NULL constraints is duplicated in blocks merging
the attribute definition incrementally. Deduplicate that code.

Author: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/64444ce071f6b04d3fc836f436fa08108a6d11e2

Modified Files
--------------
src/backend/commands/tablecmds.c | 98 ++++++++++++++--------------------------
1 file changed, 35 insertions(+), 63 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-01-26 11:39:35 pgsql: Make spelling of cancelled/cancellation consistent
Previous Message Michael Paquier 2024-01-26 08:40:34 pgsql: Reindex toast before its main relation in reindex_relation()