Re: Archiver not exiting upon crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Archiver not exiting upon crash
Дата
Msg-id 5790.1337790391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Archiver not exiting upon crash  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Archiver not exiting upon crash  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On mån, 2012-05-21 at 13:14 -0400, Tom Lane wrote:
>> ... wait, scratch that.  AFAICS, that commit was totally useless,
>> because BlockSig should always already contain SIGQUIT.

> No, because PostgresMain() deletes it from BlockSig.

Ah.  So potentially we have an issue in all the background processes
that have copied-and-pasted that sigdelset call, which seems to be most
of them.

I'm inclined to think this does need to be fixed.  Even if it
accidentally works now, it seems fragile as can be; and certainly
it's underdocumented.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Archiver not exiting upon crash
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Readme of Buffer Management seems to have wrong sentence