pgsql: refactor: Move some code that updates pg_constraint to a separat

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: refactor: Move some code that updates pg_constraint to a separat
Date: 2025-03-25 13:37:35
Message-ID: E1tx4TH-000voU-0Z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

refactor: Move some code that updates pg_constraint to a separate function

This extracts common/duplicate code for different ALTER CONSTRAINT
variants into a common function. We plan to add more variants that
would use the same code.

Author: Amul Sul <amul(dot)sul(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b962c5AcYW9KUt_R_ER5qs3fUGbe4az-SP-vuwPS-w-AGA(at)mail(dot)gmail(dot)com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c | 66 ++++++++++++++++++++++------------------
1 file changed, 37 insertions(+), 29 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-03-25 15:18:32 pgsql: refactor: Split ATExecAlterConstraintInternal()
Previous Message Peter Eisentraut 2025-03-25 12:41:52 pgsql: Small fixes for Add ALTER TABLE ... ALTER CONSTRAINT ... SET [NO