pgsql: Remove obsolete check in SIGTERM handler for the startup process - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Remove obsolete check in SIGTERM handler for the startup process
Date
Msg-id E1raOO3-006GQy-3F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove obsolete check in SIGTERM handler for the startup process.

Thanks to commit 3b00fdba9f, this check in the SIGTERM handler for
the startup process is now obsolete and can be removed.  Instead of
leaving around the dead function write_stderr_signal_safe(), I've
opted to just remove it for now.

This partially reverts commit 97550c0711.

Reviewed-by: Andres Freund, Noah Misch
Discussion: https://postgr.es/m/20231121212008.GA3742740%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8fd0498de2005b4136aaf6fcd056ca4b18e37724

Modified Files
--------------
src/backend/postmaster/startup.c | 17 +----------------
src/backend/utils/error/elog.c   | 28 ----------------------------
src/include/utils/elog.h         |  6 ------
3 files changed, 1 insertion(+), 50 deletions(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Centralize logic for restoring errno in signal handlers.
Next
From: David Rowley
Date:
Subject: pgsql: Clarify the 'rows' parameter in create_append_path