forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit88fdc70
committed
Fix possible infinite loop with Parallel Append.
When the previously-chosen plan was non-partial, all pa_finishedflags for partial plans are now set, and pa_next_plan has not yetbeen set to INVALID_SUBPLAN_INDEX, the previous code could go intoan infinite loop.Report by Rajkumar Raghuwanshi. Patch by Amit Khandekar and me.Review by Kyotaro Horiguchi.Discussion:http://postgr.es/m/CAJ3gD9cf43z78qY=U=H0HvOEN341qfRO-vLpnKPSviHeWgJQ5w@mail.gmail.com1 parentb3a101e commit88fdc70
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
473 | 473 |
| |
474 | 474 |
| |
475 | 475 |
| |
| 476 | + | |
| 477 | + | |
| 478 | + | |
476 | 479 |
| |
477 | 480 |
| |
478 | 481 |
| |
| |||
481 | 484 |
| |
482 | 485 |
| |
483 | 486 |
| |
484 |
| - | |
| 487 | + | |
485 | 488 |
| |
486 | 489 |
| |
487 | 490 |
| |
488 | 491 |
| |
489 | 492 |
| |
490 | 493 |
| |
491 |
| - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
492 | 498 |
| |
493 | 499 |
| |
494 | 500 |
| |
|
0 commit comments
Comments
(0)