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

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Remove obsolete check in SIGTERM handler for the startup process
Дата
Msg-id E1raOO3-006GQy-3F@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Centralize logic for restoring errno in signal handlers.
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Clarify the 'rows' parameter in create_append_path