| От | Andreas Seltenreich |
|---|---|
| Тема | Re: [HACKERS] [sqlsmith] Crash reading pg_stat_activity |
| Дата | |
| Msg-id | 87inq5uf3q.fsf@ansel.ydns.eu обсуждение |
| Ответ на | Re: [HACKERS] [sqlsmith] Crash reading pg_stat_activity (Andreas Seltenreich <seltenreich@gmx.de>) |
| Список | pgsql-hackers |
Andreas Seltenreich writes: > Thomas Munro writes: > >> It is safe, as long as the segment remains mapped. Each backend that >> attaches calls LWLockRegisterTranche giving it the address of the name >> in its virtual address space. > > Hmok, I was under the impression only backends participating in the IPC > call the attach function, not necessarily the ones that could possible > want to resolve the wait_event_info they found in the procArray via > pgstat_get_wait_event(). Erm, ignore that question: They'll find a NULL in their LWLockTrancheArray and run into the "extension" case you mentioned. > But I really feel like I need to study the code a bit more before > commenting further… Following this advise now :-) regards, Andreas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера