forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0a16c83
committed
Add missing CommandCounterIncrement
For commitb663b94 I thought this was useless, but turns out not tobe for the case where a partitioned table has two identical foreign keyconstraints which can both be matched by the same constraint in apartition during attach. This CCI makes the match search for the secondconstraint in the parent ignore the constraint in the child that hasalready been matched by the first constraint in the parent.Reported-by: Alexander Lakhin <exclusion@gmail.com>Discussion:https://postgr.es/m/c599253c-1ccd-4161-80fc-c9065e037a09@gmail.com1 parentd28cd3e commit0a16c83
File tree
3 files changed
+31
-10
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+31
-10
lines changedLines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11564 | 11564 |
| |
11565 | 11565 |
| |
11566 | 11566 |
| |
| 11567 | + | |
| 11568 | + | |
| 11569 | + | |
| 11570 | + | |
| 11571 | + | |
| 11572 | + | |
| 11573 | + | |
| 11574 | + | |
| 11575 | + | |
| 11576 | + | |
11567 | 11577 |
| |
11568 | 11578 |
| |
11569 | 11579 |
| |
11570 | 11580 |
| |
11571 | 11581 |
| |
11572 |
| - | |
11573 |
| - | |
11574 |
| - | |
11575 |
| - | |
11576 |
| - | |
11577 |
| - | |
11578 |
| - | |
11579 |
| - | |
11580 |
| - | |
11581 | 11582 |
| |
11582 |
| - | |
11583 | 11583 |
| |
11584 | 11584 |
| |
11585 | 11585 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2062 | 2062 |
| |
2063 | 2063 |
| |
2064 | 2064 |
| |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
2065 | 2075 |
| |
2066 | 2076 |
| |
2067 | 2077 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1491 | 1491 |
| |
1492 | 1492 |
| |
1493 | 1493 |
| |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
1494 | 1505 |
| |
1495 | 1506 |
| |
1496 | 1507 |
| |
|
0 commit comments
Comments
(0)