Don't enter parallel mode when holding interrupts.

Doing so caused the leader to hang in wait_event=ParallelFinish, which
required an immediate shutdown to resolve.  Back-patch to v12 (all
supported versions).

Francesco Degrassi

Discussion: 
https://postgr.es/m/CAC-SaSzHUKT=vzj8mpxydc_urpfax+yoa1hktcf4roz_q6z...@mail.gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/916b8ae475fa852483a7ef05e793a22c922bf999

Modified Files
--------------
src/backend/optimizer/plan/planner.c          |  6 ++++++
src/test/regress/expected/select_parallel.out | 24 +++++++++++++++++++++
src/test/regress/sql/select_parallel.sql      | 31 +++++++++++++++++++++++++++
3 files changed, 61 insertions(+)

Reply via email to