refactor: split ATExecAlterConstrRecurse()
authorPeter Eisentraut <[email protected]>
Thu, 16 Jan 2025 12:22:01 +0000 (13:22 +0100)
committerPeter Eisentraut <[email protected]>
Thu, 16 Jan 2025 12:24:11 +0000 (13:24 +0100)
commit7a947ed25b547256c5e05793467ff0f23991073f
tree87d833991a3796d17fe8fedfdd0f043bbb907db4
parentd278541be422f348b10c89c638942c25229c5e07
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 <[email protected]>
Reviewed-by: jian he <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b962c5AcYW9KUt_R_ER5qs3fUGbe4az-SP-vuwPS-w-AGA%40mail.gmail.com
src/backend/commands/tablecmds.c