Re: Bug in signal handler

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in signal handler
Дата
Msg-id 6390.1147356660@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in signal handler  (Douglas McNaught <doug@mcnaught.org>)
Ответы Re: Bug in signal handler
Список pgsql-hackers
Douglas McNaught <doug@mcnaught.org> writes:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> Running unsafe functions within a signal handler is not unsafe per-se.
>> It's only unsafe if the main program could also be running unsafe
>> functions.

> I don't disagree with your reasoning, but does POSIX actually say
> this?

The fact remains that the postmaster has *always* been coded like that,
and we have *never* seen any problems.  Barring proof that there is a
problem, I'm uninterested in rewriting it just because someone doesn't
like it.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Bug in signal handler
Следующее
От: Tom Lane
Дата:
Сообщение: Upcoming releases