Re: bug in SignalSomeChildren

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in SignalSomeChildren
Дата
Msg-id 13158.1292873002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: bug in SignalSomeChildren  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Another option that might be workable (but I have reservations, and
> haven't tested it either) is to check whether the return value of
> getppid() is equal to 1.  If it's neither 1 nor PostmasterPid then try
> kill().

I like that better actually ... one less thing for developers to get wrong.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: bug in SignalSomeChildren
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: Extensions, patch v20 (bitrot fixes)