Remove obsolete check in SIGTERM handler for the startup process.
authorNathan Bossart <[email protected]>
Wed, 14 Feb 2024 23:09:31 +0000 (17:09 -0600)
committerNathan Bossart <[email protected]>
Wed, 14 Feb 2024 23:09:31 +0000 (17:09 -0600)
commit8fd0498de2005b4136aaf6fcd056ca4b18e37724
treec747b9182bdb9657fa0d9e47a6c9011020e5c9d3
parent28e46325091dfac5c6ab9ea1e047a8d09dbd16e7
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
src/backend/postmaster/startup.c
src/backend/utils/error/elog.c
src/include/utils/elog.h