From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Don't enter parallel mode when holding interrupts. |
Date: | 2024-09-18 02:58:48 |
Message-ID: | E1sqku0-001aT1-1x@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ac04aa84a7f06635748278e6ff4bd74751bb3e8e
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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-09-18 03:48:20 | pgsql: Extend PgStat_HashKey.objid from 4 to 8 bytes |
Previous Message | Michael Paquier | 2024-09-18 01:00:13 | pgsql: Add missing query ID reporting in extended query protocol |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2024-09-18 03:13:20 | Re: Use streaming read API in ANALYZE |
Previous Message | shawn wang | 2024-09-18 02:56:08 | Re: Trim the heap free memory |