Re: HOT patch - version 15

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HOT patch - version 15
Дата
Msg-id 9103.1189476664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HOT patch - version 15  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: HOT patch - version 15  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-patches
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> Pruning removes intermediate dead tuples by marking their line pointers
> ~LP_USED and redirecting the root line pointer to the first
> live/recently_dead tuple in the chain.

It seems utterly unsafe to do this without a vacuum-grade lock on the
page.  Someone might be examining the root tuple (eg, in a SnapshotAny
scan) and I think they are entitled to assume that the line pointer
stays valid while they are looking at the tuple.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: Yet more tsearch refactoring
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HOT patch - version 15