Re: segmentation fault using currtid and partitioned tables
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: segmentation fault using currtid and partitioned tables |
| Дата | |
| Msg-id | 11083.1590978414@sss.pgh.pa.us обсуждение |
| Ответ на | Re: segmentation fault using currtid and partitioned tables (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: segmentation fault using currtid and partitioned tables
|
| Список | pgsql-hackers |
Michael Paquier <michael@paquier.xyz> writes:
> Woah. This one is old, good catch from -DRELCACHE_FORCE_RELEASE. It
> happens that since its introduction in a3519a2 from 2002,
> currtid_for_view() in tid.c closes the view and then looks at a RTE
> from it. I have reproduced the issue and the patch attached takes
> care of the problem. Would it be better to backpatch all the way down
> or is that not worth caring about?
Ugh. Aside from the stale-pointer-deref problem, once we drop the lock
we can't even be sure the table still exists. +1 for back-patch.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера