Re: rare avl shutdown slowness (related to signal handling)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rare avl shutdown slowness (related to signal handling)
Дата
Msg-id 14995.1428447719@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: rare avl shutdown slowness (related to signal handling)  (Qingqing Zhou <zhouqq.postgres@gmail.com>)
Ответы Re: rare avl shutdown slowness (related to signal handling)  (Qingqing Zhou <zhouqq.postgres@gmail.com>)
Список pgsql-hackers
Qingqing Zhou <zhouqq.postgres@gmail.com> writes:
> I do feel that we have too many functions instructing how to handle
> interrupts and they are subtle - I just found a new friend
> HOLD_CANCEL_INTERRUPTS :-(

Indeed, which is why I think a patch for this issue should not introduce
a new mode/context in which proc_exit() is executed.  The code path would
be so seldom executed that we'd never manage to isolate any bugs that
might be in it.  Thus also my objection to Alvaro's patch that had us
going to proc_exit from partway through the error cleanup sequence.
        regards, tom lane



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

Предыдущее
От: Qingqing Zhou
Дата:
Сообщение: Re: rare avl shutdown slowness (related to signal handling)
Следующее
От: Qingqing Zhou
Дата:
Сообщение: Re: rare avl shutdown slowness (related to signal handling)