pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't enter parallel mode when holding interrupts.
Date: Wed, 18 Sep 2024 02:58:48 +0000
Message-ID: <E1sqku0-001aT7-5u@gemulon.postgresql.org> (raw)

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



view thread (10+ messages)  latest in thread

Message-ID: <E1sqku0-001aT7-5u@gemulon.postgresql.org>
Permalink:  ../E1sqku0-001aT7-5u@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sqku0-001aT7-5u@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Don't enter parallel mode when holding interrupts.
  In-Reply-To: <E1sqku0-001aT7-5u@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox