Re: Unneccessary cmax in heap tuple ?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Unneccessary cmax in heap tuple ?
Дата
Msg-id 39F6AC91.3F78BDAA@tpf.co.jp
обсуждение исходный текст
Ответ на Doesn't anyone around here run the regression tests on patches?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

devik@cdi.cz wrote:

> 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 ..
>

If a tuple was inserted and updated in current transaction,
how could we judge if the tuple was valid for a given
ScanCommandId  ?
However there could be other improvements.

Regards.
Hiroshi Inoue



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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: --with-perl=/path/to/prefered/perl?
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: looks like we forgot something...