Unneccessary cmax in heap tuple ?

Поиск
Список
Период
Сортировка
От devik@cdi.cz
Тема Unneccessary cmax in heap tuple ?
Дата
Msg-id 39F699B4.44FD7897@cdi.cz
обсуждение исходный текст
Ответ на Doesn't anyone around here run the regression tests on patches?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,
Why is there cmax in tuple ? cxxx is used to determine
if tuple was inserted/deleted by current command or
past command. Because one command can't both insert
and delete the same tuple, only something like "cupd"
might be needed and flag which tells you whether cupd
is time of insert or delete. This saves 4byte from 
header .. 

devik



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

Предыдущее
От: devik@cdi.cz
Дата:
Сообщение: Re: Two-phase commit
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Re: how to access backend pid from libpq ?