pgsql: refactor: split ATExecAlterConstrRecurse()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: refactor: split ATExecAlterConstrRecurse()
Date: 2025-01-16 12:32:40
Message-ID: E1tYP39-001uvC-Q8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

refactor: split ATExecAlterConstrRecurse()

This splits out a couple of subroutines from
ATExecAlterConstrRecurse(). This makes the main function a bit
smaller, and a future patch (NOT ENFORCED foreign-key constraints)
will also want to call some of the pieces separately.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7a947ed25b547256c5e05793467ff0f23991073f

Modified Files
--------------
src/backend/commands/tablecmds.c | 182 ++++++++++++++++++++++++---------------
1 file changed, 112 insertions(+), 70 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-01-16 13:43:58 pgsql: Remove dead code
Previous Message Peter Eisentraut 2025-01-16 08:07:19 pgsql: Fix error handling of pg_b64_decode()