Re: Double invocation of InitPostmasterChild in bgworker with -DEXEC_BACKEND
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Double invocation of InitPostmasterChild in bgworker with -DEXEC_BACKEND |
| Дата | |
| Msg-id | 10230.1470177637@sss.pgh.pa.us обсуждение |
| Ответ на | Double invocation of InitPostmasterChild in bgworker with -DEXEC_BACKEND (Thomas Munro <thomas.munro@enterprisedb.com>) |
| Ответы |
Re: Double invocation of InitPostmasterChild in bgworker
with -DEXEC_BACKEND
|
| Список | pgsql-hackers |
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> I discovered that if you build with -DEXEC_BACKEND on a Unix system
> and then try to start a background worker, it dies in
> InitializeLatchSupport:
> TRAP: FailedAssertion("!(selfpipe_readfd == -1)", File: "latch.c", Line: 161)
> That's because InitPostmasterChild is called twice. I can
> successfully use regular parallel query workers and bgworkers created
> by extensions if I apply the attached patch.
Confirmed, fix pushed. I wonder if we should have a buildfarm member
running the Unix EXEC_BACKEND code ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера