diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-02-08 12:31:48 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-02-08 12:31:48 -0500 |
commit | 88fdc7006018b92d6ec92c54b3819764703daaba (patch) | |
tree | e7fbaf2b57f0d839fd6f8f34511cdf68fe5ae51b /src/backend/commands/explain.c | |
parent | b3a101eff0fd3747bebf547b1769e28f820f4515 (diff) | |
download | postgresql-88fdc7006018b92d6ec92c54b3819764703daaba.tar.gz postgresql-88fdc7006018b92d6ec92c54b3819764703daaba.zip |
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-vLpnKPSviHeWgJQ5w@mail.gmail.com
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions