Re: Re: Give me more details of some bits in infomask!!

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Re: Give me more details of some bits in infomask!!
Дата
Msg-id CAKFQuwYO0FmBS7TDTXbaTxHD9D+Jh6BN63oURAnpt6XziLsy9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: Give me more details of some bits in infomask!!  ("jacktby@gmail.com" <jacktby@gmail.com>)
Список pgsql-hackers
On Sun, Feb 26, 2023 at 8:36 AM jacktby@gmail.com <jacktby@gmail.com> wrote:
> CID means "command ID" i.e. sequential ID assigned to commands in a
> single session (for visibility checks, so that a query doesn't see data
> deleted by earlier commands in the same session). See
> src/backend/utils/time/combocid.c for basic explanation of what "combo
> CID" is.
I think if cid is used for  visibility checks in one session, that's meaingless, beacause we can use the t_xmin and t_xmax to 
get this goal. Is tis 

I think the word "session" is wrong.  It should be "transaction".

IIUC, it is what is changed when one issues CommandCounterIncrement within a transaction.  And you need somewhere to save which CCI step deletes rows, in particular due to the savepoint feature.

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Re: Why the lp_len is 28 not 32?
Следующее
От: Melanie Plageman
Дата:
Сообщение: Track IO times in pg_stat_io