Re: PostmasterContext survives into parallel workers!?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostmasterContext survives into parallel workers!?
Дата
Msg-id 18843.1470089907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostmasterContext survives into parallel workers!?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> (Also vaguely on the list of things to clean up: can't we make it so
> that bgworkers aren't launched from inside a signal handler?  Blech.)

So are other postmaster children, I believe.  We could probably try
to rewrite the postmaster to not do useful work in signal handlers,
but rely on a lot of volatile flags set by the handlers.  Not convinced
this would be anything but a cosmetic improvement, though.  And it
could create new portability problems to replace any that it removed;
we'd have to be *absolutely* certain that the main select() call would
return with EINTR rather than resuming after any interrupt.
        regards, tom lane



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PostmasterContext survives into parallel workers!?