pgsql: Remove obsolete check in SIGTERM handler for the startup process

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove obsolete check in SIGTERM handler for the startup process
Date: 2024-02-14 23:09:55
Message-ID: E1raOO3-006GQy-3F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-02-15 00:13:50 pgsql: Clarify the 'rows' parameter in create_append_path
Previous Message Nathan Bossart 2024-02-14 22:35:19 pgsql: Centralize logic for restoring errno in signal handlers.