- Notifications
You must be signed in to change notification settings - Fork28
Commitcd5005b
committed
Pass correct TupDesc to ri_NullCheck() in Assert
Previous coding was passing the wrong table's tuple descriptor, whichaccidentally fails to fail because no existing test case exercises aforeign key in which the referenced attributes are further to the rightof the referencing attributes.Add a test so that further breakage is visible.This got broken in16828d5.Discussion:https://postgr.es/m/20180403204723.fqte755nukgm42uf@alvherre.pgsql1 parentdddfc4c commitcd5005b
File tree
3 files changed
+24
-1
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+24
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
514 | 514 |
| |
515 | 515 |
| |
516 | 516 |
| |
517 |
| - | |
| 517 | + | |
518 | 518 |
| |
519 | 519 |
| |
520 | 520 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1381 | 1381 |
| |
1382 | 1382 |
| |
1383 | 1383 |
| |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1384 | 1397 |
| |
1385 | 1398 |
| |
1386 | 1399 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1020 | 1020 |
| |
1021 | 1021 |
| |
1022 | 1022 |
| |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1023 | 1033 |
| |
1024 | 1034 |
| |
1025 | 1035 |
| |
|
0 commit comments
Comments
(0)