pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: aio: Fix configuration reload in IO workers.
2+ messages / 1 participants
[nested] [flat]

* pgsql: aio: Fix configuration reload in IO workers.
@ 2025-07-12 04:38  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 04:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: aio: Fix configuration reload in IO workers.
@ 2025-07-12 04:38  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 04:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7d11f36e71a97603802c6a3dd019e206729a80c7

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-07-12 04:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-12 04:38 pgsql: aio: Fix configuration reload in IO workers. Thomas Munro <tmunro@postgresql.org>
2025-07-12 04:38 pgsql: aio: Fix configuration reload in IO workers. Thomas Munro <tmunro@postgresql.org>

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