Re: Add 64-bit XIDs into PostgreSQL 15

Поиск
Список
Период
Сортировка
От Maxim Orlov
Тема Re: Add 64-bit XIDs into PostgreSQL 15
Дата
Msg-id CACG=ezY7WZToLsY5kuFjkUSYrr8w2cv3X+_TZT5+P8=FPtnZ=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add 64-bit XIDs into PostgreSQL 15  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers

Is there any documentation or README explaining this whole 64-bit XID mechanism?
There is none, unfortunately. I would come back to this later.
 
Could you tell me what happens if new tuple with XID larger than xid_base + 0xFFFFFFFF is inserted into the page? Such new tuple is not allowed to be inserted into that page? Or xid_base and xids of all existing tuples in the page are increased? Also what happens if one of those xids (of existing tuples) cannot be changed because the tuple still can be seen by very-long-running transaction?
All this mechanism is around heap_insert/heap_update by calling heap_page_prepare_for_xid() and if it fails (due to tuple still visible) error is raised. Also If xid_base shift is not viable, it will try to remove old tuples.

--
Best regards,
Maxim Orlov.

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

Предыдущее
От: Maxim Orlov
Дата:
Сообщение: Re: Add 64-bit XIDs into PostgreSQL 15
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Non-superuser subscription owners