Re: Handle SIGTERM in fe_utils/cancel.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Handle SIGTERM in fe_utils/cancel.c
Дата
Msg-id ZG1fqC72Y7+FWz/q@paquier.xyz
обсуждение исходный текст
Ответ на Handle SIGTERM in fe_utils/cancel.c  ("Tristan Partin" <tristan@neon.tech>)
Ответы Re: Handle SIGTERM in fe_utils/cancel.c  ("Tristan Partin" <tristan@neon.tech>)
Список pgsql-hackers
On Mon, May 22, 2023 at 12:26:34PM -0500, Tristan Partin wrote:
> This is a way that would solve bug #17698[1]. It just reuses the same
> handler as SIGINT (with a function rename).
>
> This patch works best if it is combined with my previous submission[2].
> I can rebase that submission if and when this patch is pulled in.

Not sure that this is a good idea long-term.  Currently, the code
paths calling setup_cancel_handler() from cancel.c don't have a custom
handling for SIGTERM, but that may not be the case forever.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Large files for relations
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: unnecessary #include "pg_getopt.h"?