Re: PostmasterContext survives into parallel workers!?
От | Alvaro Herrera |
---|---|
Тема | Re: PostmasterContext survives into parallel workers!? |
Дата | |
Msg-id | 20160803175508.GA648317@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: PostmasterContext survives into parallel workers!? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: PostmasterContext survives into parallel workers!?
|
Список | pgsql-hackers |
Tom Lane wrote: > Alvaro Herrera <alvherre@2ndquadrant.com> writes: > > Tom Lane wrote: > >> It looks to me like the reason for it is simply not having bothered to > >> copy the rw->rw_worker data to somewhere that would survive deletion > >> of the PostmasterContext. I wonder though if anyone remembers a more > >> fundamental reason? Surely the bgworker is not supposed to touch any > >> of the rest of the BackgroundWorkerList? > > > I just checked BDR, which is the more complex code using workers I know > > of, and I don't see any reason why this cannot be changed. > > The attached patch passes "make check-world" for me. Can you check it > against BDR? Just checked. It works fine. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: