aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAgg.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-03-11 10:43:48 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-03-11 10:43:48 +0100
commitdabccf45139a8c7c3c2e7683a943c31077e55a78 (patch)
tree623862898bb1c46283acf48196fa7a738e47dfa0 /src/backend/executor/nodeAgg.c
parent1d26c2d2c4b8d833a63ba403bc9313db2c091aa7 (diff)
downloadpostgresql-dabccf45139a8c7c3c2e7683a943c31077e55a78.tar.gz
postgresql-dabccf45139a8c7c3c2e7683a943c31077e55a78.zip
Move RemoveInheritedConstraint() call slightly earlier
This change is harmless and does not affect the existing intended operation. It is necessary for a subsequent patch operation (NOT ENFORCED foreign keys), where we may need to change the child constraint to enforced. In this case, we would create the necessary triggers and queue the constraint for validation, so it is important to remove any unnecessary constraints before proceeding. This is a small change that could have been included in the previous "split tryAttachPartitionForeignKey" refactoring patch (commit 1d26c2d2c4b), but was kept separate to highlight the changes. Author: Amul Sul <amul.sul@enterprisedb.com> Reviewed-by: Alexandra Wang <alexandra.wang.oss@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b962c5AcYW9KUt_R_ER5qs3fUGbe4az-SP-vuwPS-w-AGA%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions