Re: kevent latch paths don't handle postmaster death well
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: kevent latch paths don't handle postmaster death well |
| Дата | |
| Msg-id | 3625898.1602704431@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: kevent latch paths don't handle postmaster death well (Thomas Munro <thomas.munro@gmail.com>) |
| Ответы |
Re: kevent latch paths don't handle postmaster death well
|
| Список | pgsql-hackers |
Thomas Munro <thomas.munro@gmail.com> writes:
> The process exit event is like an 'edge', not a 'level'... hmm. It
> might be enough to set report_postmaster_not_running = true the first
> time it tells us so if we try to wait again we'll treat it like a
> level. I will look into it later today.
Seems like having that be per-WaitEventSet state is also not a great
idea --- if we detect PM death while waiting on one WES, and then
wait on another one, it won't work. A plain process-wide static
variable would be a better way I bet.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера