From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use ModifyWaitEvent to update exit_on_postmaster_death |
Date: | 2025-03-05 23:28:00 |
Message-ID: | E1tpy9g-000zVV-2H@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use ModifyWaitEvent to update exit_on_postmaster_death
This is in preparation for splitting WaitEventSet related functions to
a separate source file. That will hide the details of WaitEventSet
from WaitLatch, so it must use an exposed function instead of
modifying WaitEventSet->exit_on_postmaster_death directly.
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/8a507fb6-df28-49d3-81a5-ede180d7f0fb@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/84e5b2f07a5e8ba983ff0f6e71b063b27f45f346
Modified Files
--------------
src/backend/storage/ipc/latch.c | 48 +++++++++++++++++++++++++++--------------
1 file changed, 32 insertions(+), 16 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-03-06 01:00:38 | pgsql: Add more monitoring data for WAL writes in the WAL receiver |
Previous Message | Fujii Masao | 2025-03-05 23:24:27 | pgsql: ecpg: Fix compiler warning in ecpg build with Meson. |