forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2b59274
committed
check_exclusion_constraint didn't actually work correctly for index
expressions: FormIndexDatum requires the estate's scantuple to already pointat the tuple the values are supposedly being extracted from. Adjust testcase so that this type of confusion will be exposed.Per report from hubert depesz lubaczewski.1 parent0239800 commit2b59274
File tree
3 files changed
+30
-16
lines changed- src
- backend/executor
- test/regress
- input
- output
3 files changed
+30
-16
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1167 | 1167 |
| |
1168 | 1168 |
| |
1169 | 1169 |
| |
| 1170 | + | |
1170 | 1171 |
| |
| 1172 | + | |
1171 | 1173 |
| |
1172 | 1174 |
| |
1173 | 1175 |
| |
| |||
1194 | 1196 |
| |
1195 | 1197 |
| |
1196 | 1198 |
| |
1197 |
| - | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1198 | 1206 |
| |
1199 | 1207 |
| |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1200 | 1212 |
| |
1201 | 1213 |
| |
1202 | 1214 |
| |
| |||
1311 | 1323 |
| |
1312 | 1324 |
| |
1313 | 1325 |
| |
| 1326 | + | |
| 1327 | + | |
1314 | 1328 |
| |
1315 | 1329 |
| |
1316 | 1330 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
| 379 | + | |
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
384 | 384 |
| |
385 |
| - | |
| 385 | + | |
386 | 386 |
| |
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
390 |
| - | |
| 390 | + | |
391 | 391 |
| |
392 | 392 |
| |
393 |
| - | |
394 |
| - | |
| 393 | + | |
| 394 | + | |
395 | 395 |
| |
396 | 396 |
| |
397 | 397 |
| |
398 |
| - | |
| 398 | + | |
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
523 |
| - | |
| 523 | + | |
524 | 524 |
| |
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
528 | 528 |
| |
529 |
| - | |
| 529 | + | |
530 | 530 |
| |
531 | 531 |
| |
532 | 532 |
| |
533 |
| - | |
| 533 | + | |
534 | 534 |
| |
535 |
| - | |
| 535 | + | |
536 | 536 |
| |
537 | 537 |
| |
538 |
| - | |
539 |
| - | |
| 538 | + | |
| 539 | + | |
540 | 540 |
| |
541 | 541 |
| |
542 |
| - | |
| 542 | + | |
543 | 543 |
| |
544 | 544 |
| |
545 |
| - | |
| 545 | + | |
546 | 546 |
| |
547 | 547 |
| |
548 | 548 |
| |
|
0 commit comments
Comments
(0)