Fix possible infinite loop with Parallel Append. When the previously-chosen plan was non-partial, all pa_finished flags for partial plans are now set, and pa_next_plan has not yet been set to INVALID_SUBPLAN_INDEX, the previous code could go into an infinite loop.
Report by Rajkumar Raghuwanshi. Patch by Amit Khandekar and me. Review by Kyotaro Horiguchi. Discussion: http://postgr.es/m/CAJ3gD9cf43z78qY=U=h0hvoen341qfro-vlpnkpsvihewgj...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/88fdc7006018b92d6ec92c54b3819764703daaba Modified Files -------------- src/backend/executor/nodeAppend.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
