Обсуждение: pgsql: Remove obsolete check in SIGTERM handler for the startup process

Поиск
Список
Период
Сортировка

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

От
Nathan Bossart
Дата:
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(-)