Re: SIGFPE handler is naive

Поиск
Список
Период
Сортировка
От Nils Goroll
Тема Re: SIGFPE handler is naive
Дата
Msg-id 502A284E.7040706@schokola.de
обсуждение исходный текст
Ответ на SIGFPE handler is naive  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: SIGFPE handler is naive
Список pgsql-hackers
> Should we do something to plug this, and if so, what?  If not, should
> we document the danger?

I am not sure if I really understood the intention of the question correctly, 
but if the question was if pg should try to work around misuse of signals, then 
my answer would be a definite no.

IMHO, the signal handler should check if the signal was received for good 
reasons (as proposed by Noah) and handle it appropriately, but otherwise ignore it.

Nils



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: default_isolation_level='serializable' crashes on Windows
Следующее
От: Greg Stark
Дата:
Сообщение: Re: SIGFPE handler is naive