Re: pgsql/src backend/tcop/postgres.c include/misc ...

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: pgsql/src backend/tcop/postgres.c include/misc ...
Дата
Msg-id 3C36824C.3C7ADE4@tpf.co.jp
обсуждение исходный текст
Ответ на pgsql/src backend/tcop/postgres.c include/misc ...  (tgl@postgresql.org)
Список pgsql-committers
Tom Lane wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Cancel interrupts are accepted at CHECK_FOR_INTERRUPTS
> > or while waiting for a lock.
> > Die interrupts are accepted at CHECK_FOR_INTERRUPTS or
> > at the time when they are received while interrupts
> > are allowed. Is my understanding right ?
>
> No, I don't think so.  Both types of interrupts can be honored during
> the signal handler only if ImmediateInterruptOK is true.  It is true
> *only* while waiting for a lock or while waiting for client input.

Oh I see. But this seems to change the behabior significantly
at least for die signals.

regards,
Hiroshi Inoue

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: pgsql/src backend/tcop/postgres.c include/misc ...