Thread: pgsql: Use SIGNAL_ARGS consistently to declare signal handlers.

pgsql: Use SIGNAL_ARGS consistently to declare signal handlers.

From
Tom Lane
Date:
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(-)