Re: SSI freezing bug

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SSI freezing bug
Дата
Msg-id 524EA204.8080800@vmware.com
обсуждение исходный текст
Ответ на Re: SSI freezing bug  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 04.10.2013 14:02, Andres Freund wrote:
> But locks on those still can have meaning, right? From my very limited
> understanding of predicate.c/SSI I don't see why we cannot have
> meaningful conflicts on tuples that are already vacuumable. You'd need
> some curiously interleaved transactions, sure, but it seems possible?

To conflict with a lock, a backend would need to read or update the 
tuple the lock is on. If the tuple is vacuumable, it's no longer visible 
to anyone, so no backend can possibly read or update it anymore.

- Heikki



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: SSI freezing bug
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: GIN improvements part 1: additional information