Re: unexpected SIGALRM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unexpected SIGALRM
Дата
Msg-id 27163.1008547905@sss.pgh.pa.us
обсуждение исходный текст
Ответ на unexpected SIGALRM  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Anyway I found some unexpected SIGALRM cases.
> It may be caused by a cygwin's bug but isn't it safer to
> return immediately from HandleDeadLock in any platform
> unless the backend is waiting for a lock ?

If we can't rely on the signal handling facilities to interrupt only
when they're supposed to, I think HandleDeadlock is the least of our
worries :-(.  I'm not excited about inserting an ad-hoc test to work
around (only) one manifestation of a system-level bug.

            regards, tom lane

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

Предыдущее
От: mlw
Дата:
Сообщение: Re: Explicit config patch 7.2B4
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: unexpected SIGALRM