| От | Tom Lane |
|---|---|
| Тема | Re: PostmasterContext survives into parallel workers!? |
| Дата | |
| Msg-id | 21256.1470093683@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: PostmasterContext survives into parallel workers!? (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> Personally I think the whole logic should be reworked so we do most of
> that that only from one place.
Alvaro already mentioned a couple of reasons why that might not be so
easy.
> Especially the signal handler stuff
> should imo just be replaced by setting latch, which then does the work
> inside the normal main loop.
Of course, then we're utterly dependent on the latch logic to be
zero-failure, as any bug in it takes out the postmaster. That idea
would've been rejected out of hand earlier in the development of
the latch code. Maybe it's safe enough today, but I still wonder what
it is that we're buying after we do such a massive rewrite of the
postmaster.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера