Tuple visibility within a single XID

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Tuple visibility within a single XID
Дата
Msg-id 55247D6E.3030906@BlueTreble.com
обсуждение исходный текст
Ответы Re: Tuple visibility within a single XID  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
My understanding is that all subtransactions get their own unique XID 
(assuming they need one), and that CommandId can't move backwards within 
a transaction. If that's correct, then shouldn't we be able to prune 
tuples where XMIN and XMAX match our *exact* XID (not all the extra 
stuff that TransactionIdIsCurrentTransactionId() does) and CommandId < 
CurrentCommandId?

I thought of this because of a post to -general. It's certainly not a 
common case, but it seems like there's not much downside...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Doubt about AccessExclusiveLock in ALTER TABLE .. SET ( .. );
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Tuple visibility within a single XID