| От | Tom Lane |
|---|---|
| Тема | Re: strange nbtree corruption report |
| Дата | |
| Msg-id | 1189.1321933403@sss.pgh.pa.us обсуждение |
| Ответ на | Re: strange nbtree corruption report (Noah Misch <noah@leadboat.com>) |
| Ответы |
Re: strange nbtree corruption report
|
| Список | pgsql-hackers |
Noah Misch <noah@leadboat.com> writes:
> Just a suspicion ... when looking at the B-tree page reclamation algorithm, I
> had a thought that the logic in _bt_page_recyclable() was obsolete as of the
> introduction (in 8.3) of xid-free read-only transactions. A transaction
> without a persistent xid does not hold back RecentXmin, so how could waiting
> for a RecentXmin window to pass prove that no scan still holds a link to the
> page? Similarly, running VACUUMs do not hold back RecentXmin.
Uh, sure they do. It's their advertised snapshot xmin that counts, not
their own xid (if any).
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера