forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdabccf4
committed
Move RemoveInheritedConstraint() call slightly earlier
This change is harmless and does not affect the existing intendedoperation. It is necessary for a subsequent patch operation (NOTENFORCED foreign keys), where we may need to change the childconstraint to enforced. In this case, we would create the necessarytriggers and queue the constraint for validation, so it is importantto remove any unnecessary constraints before proceeding.This is a small change that could have been included in the previous"split tryAttachPartitionForeignKey" refactoring patch (commit1d26c2d), 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.com1 parent1d26c2d commitdabccf4
1 file changed
+15
-15
lines changedLines changed: 15 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11572 | 11572 |
| |
11573 | 11573 |
| |
11574 | 11574 |
| |
| 11575 | + | |
| 11576 | + | |
| 11577 | + | |
| 11578 | + | |
| 11579 | + | |
| 11580 | + | |
| 11581 | + | |
| 11582 | + | |
| 11583 | + | |
| 11584 | + | |
| 11585 | + | |
| 11586 | + | |
| 11587 | + | |
| 11588 | + | |
| 11589 | + | |
11575 | 11590 |
| |
11576 | 11591 |
| |
11577 | 11592 |
| |
| |||
11608 | 11623 |
| |
11609 | 11624 |
| |
11610 | 11625 |
| |
11611 |
| - | |
11612 |
| - | |
11613 |
| - | |
11614 |
| - | |
11615 |
| - | |
11616 |
| - | |
11617 |
| - | |
11618 |
| - | |
11619 |
| - | |
11620 |
| - | |
11621 |
| - | |
11622 |
| - | |
11623 |
| - | |
11624 |
| - | |
11625 |
| - | |
11626 | 11626 |
| |
11627 | 11627 |
| |
11628 | 11628 |
| |
|
0 commit comments
Comments
(0)