pgsql: Don't enter parallel mode when holding interrupts. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Don't enter parallel mode when holding interrupts.
Date
Msg-id E1sqku0-001aT7-5u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_Q6z0_Q@mail.gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/884860bfc0286ca35f7c097c2511bad90f4ede07

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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add missing query ID reporting in extended query protocol
Next
From: Michael Paquier
Date:
Subject: pgsql: Extend PgStat_HashKey.objid from 4 to 8 bytes