Which signal to use for CANCEL from postmaster to backend?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Which signal to use for CANCEL from postmaster to backend?
Дата
Msg-id 8176.899763529@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [HACKERS] Which signal to use for CANCEL from postmaster to backend?
Список pgsql-hackers
Hmm.  I find that SIGUSR1 and SIGUSR2 are both already in use for
communication between backends.  We can't really commandeer SIGURG,
either, because it's apparently the same as SIGUSR1 on SCO
(see src/include/port/sco.h ... so OOB wouldn't work there anyway!).

All three of SIGINT, SIGHUP, SIGTERM currently do the same thing in a
backend, so it looks like our best choice is to redefine one of those
as the cancel request signal.  Any preference?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: New s_lock.h fails on HPUX with gcc
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Need your comments/help