diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-03-25 16:18:00 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-03-25 16:18:00 +0100 |
commit | 639238b978fefe53b8412f2cc0265f6a2512887a (patch) | |
tree | fcfc5bd0032ac1e4333da45d54eff73c97163e03 /src/backend/utils/adt/jsonb_util.c | |
parent | a3280e2a494fe369a041ebdefdf2afb515952c18 (diff) | |
download | postgresql-639238b978fefe53b8412f2cc0265f6a2512887a.tar.gz postgresql-639238b978fefe53b8412f2cc0265f6a2512887a.zip |
refactor: Split ATExecAlterConstraintInternal()
Split ATExecAlterConstraintInternal() into two functions:
ATExecAlterConstrDeferrability() and
ATExecAlterConstrInheritability(). This simplifies the code and
avoids unnecessary confusion caused by recursive code, which isn't
needed for ATExecAlterConstrInheritability().
(This also takes over the changes in commit 64224a834ce, as the new
AlterConstrDeferrabilityRecurse() is essentially the old
ATExecAlterChildConstr().)
Author: Amul Sul <amul.sul@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b962c5AcYW9KUt_R_ER5qs3fUGbe4az-SP-vuwPS-w-AGA@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions