diff options
author | Peter Eisentraut | 2025-03-11 08:33:36 +0000 |
---|---|---|
committer | Peter Eisentraut | 2025-03-11 08:35:24 +0000 |
commit | 1d26c2d2c4b8d833a63ba403bc9313db2c091aa7 (patch) | |
tree | c50a0b1eca61d14bfd3a158fd60fb8672cbf8e6f /src/backend/commands/dbcommands.c | |
parent | 64224a834ce4c899e878db27b14ea3412a6ddbed (diff) |
refactor: Split tryAttachPartitionForeignKey()
Split tryAttachPartitionForeignKey() into three functions:
AttachPartitionForeignKey(), RemoveInheritedConstraint(), and
DropForeignKeyConstraintTriggers(), so they can be reused in some
subsequent patches for the NOT ENFORCED feature.
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/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions