From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Provide sigaction() for Windows. |
Date: | 2022-11-09 00:08:03 |
Message-ID: | E1osYdO-000Ez9-5l@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Provide sigaction() for Windows.
Commit 9abb2bfc left behind code to block signals inside signal
handlers on Windows, because our signal porting layer didn't have
sigaction(). Provide a minimal implementation that is capable of
blocking signals, to get rid of platform differences. See also related
commit c94ae9d8.
Discussion: https://postgr.es/m/CA%2BhUKGKKKfcgx6jzok9AYenp2TNti_tfs8FMoJpL8%2B0Gsy%3D%3D_A%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b28ac1d24db44ae763a57688e7a559352002badc
Modified Files
--------------
src/backend/libpq/pqsignal.c | 9 ------
src/backend/port/win32/signal.c | 41 ++++++++++++++++++--------
src/backend/postmaster/postmaster.c | 57 +++----------------------------------
src/include/libpq/pqsignal.h | 14 +++++++++
src/port/pqsignal.c | 11 +++----
5 files changed, 53 insertions(+), 79 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-11-09 00:41:41 | pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ |
Previous Message | Michael Paquier | 2022-11-08 23:54:38 | pgsql: Use AbsoluteConfigLocation() when building an included path in h |