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....@enterprisedb.com> Reviewed-by: jian he <jian.universal...@gmail.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(-)