Re: Incomplete freezing when truncating a relation during vacuum
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Incomplete freezing when truncating a relation during vacuum |
| Дата | |
| Msg-id | 7692.1385938947@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Incomplete freezing when truncating a relation during vacuum (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Incomplete freezing when truncating a relation during
vacuum
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-12-01 17:15:31 -0500, Tom Lane wrote:
>> Is there really a significant risk of clog access errors due to this bug?
>> IIUC, the risk is that tuples in pages that vacuum skips due to being
>> all-visible might not be frozen when intended.
> Unfortunately it's not actually too hard to hit due to following part of the
> code in vacuumlazy.c:
> /*
> * If we're not scanning the whole relation to guard against XID
> * wraparound, it's OK to skip vacuuming a page. The next vacuum
> * will clean it up.
> */
Ah. So it's only been *seriously* broken since commit bbb6e559c, ie 9.2.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера