From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use SIGNAL_ARGS consistently to declare signal handlers.
Date: Wed, 14 Sep 2022 18:45:10 +0000
Message-ID: <E1oYXNl-000LR5-Kq@gemulon.postgresql.org> (raw)
Use SIGNAL_ARGS consistently to declare signal handlers.
Various bits of code were declaring signal handlers manually,
using "int signum" or variants of that. We evidently have no
platforms where that's actually wrong, but let's use our
SIGNAL_ARGS macro everywhere anyway. If nothing else, it's
good for finding signal handlers easily.
No need for back-patch, since this is just cosmetic AFAICS.
Discussion: https://postgr.es/m/2684964.1663167995@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b66fbd8afe6eb80e3e48495e002fda9aa92df583
Modified Files
--------------
src/backend/storage/ipc/pmsignal.c | 2 +-
src/bin/initdb/initdb.c | 6 +++---
src/bin/pg_basebackup/pg_receivewal.c | 2 +-
src/bin/pg_basebackup/pg_recvlogical.c | 4 ++--
src/bin/pg_ctl/pg_ctl.c | 6 +++---
src/bin/pg_test_fsync/pg_test_fsync.c | 10 +++++-----
src/bin/pg_waldump/pg_waldump.c | 2 +-
src/include/port.h | 2 +-
src/test/regress/pg_regress.c | 6 +++---
9 files changed, 20 insertions(+), 20 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Use SIGNAL_ARGS consistently to declare signal handlers.
In-Reply-To: <E1oYXNl-000LR5-Kq@gemulon.postgresql.org>
References: <E1oYXNl-000LR5-Kq@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