pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: aio: Fix configuration reload in IO workers.
Date: Sat, 12 Jul 2025 04:38:30 +0000
Message-ID: <E1uaS0M-005roh-0Q@gemulon.postgresql.org> (raw)

aio: Fix configuration reload in IO workers.

method_worker.c installed SignalHandlerForConfigReload, but it failed to
actually process reload requests.  That hasn't yet produced any concrete
problem reports in terms of GUC changes it should have cared about in
v18, but it was inconsistent.

It did cause problems for a couple of patches in development that need
IO workers to react to ALTER SYSTEM + pg_reload_conf().  Fix extracted
from one of those patches.

Back-patch to 18.

Reported-by: Dmitry Dolgov <9erthalion6@gmail.com>
Discussion: https://postgr.es/m/sh5uqe4a4aqo5zkkpfy5fobe2rg2zzouctdjz7kou4t74c66ql%40yzpkxb7pgoxf

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b8e1f2d96bb99ad3528d035861bd311b9f8eb5a9

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 6 ++++++
1 file changed, 6 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1uaS0M-005roh-0Q@gemulon.postgresql.org>
Permalink:  ../E1uaS0M-005roh-0Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uaS0M-005roh-0Q@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: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: aio: Fix configuration reload in IO workers.
  In-Reply-To: <E1uaS0M-005roh-0Q@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