Re: POC: make mxidoff 64 bits

Поиск
Список
Период
Сортировка
От Pavel Borisov
Тема Re: POC: make mxidoff 64 bits
Дата
Msg-id CALT9ZEHm138m2rTi6-N_Xcm0ibfbK0b7yysdPHj1v144YUOFQg@mail.gmail.com
обсуждение исходный текст
Ответ на POC: make mxidoff 64 bits  (Maxim Orlov <orlovmg@gmail.com>)
Ответы Re: POC: make mxidoff 64 bits
Re: POC: make mxidoff 64 bits
Список pgsql-hackers
Hi, Maxim!

Previously we accessed offsets in shared MultiXactState without locks as 32-bit read is always atomic. But I'm not sure it's so when offset become 64-bit.
E.g. GetNewMultiXactId():

nextOffset = MultiXactState->nextOffset;
is outside lock. 

There might be other places we do the same as well. 

Regards,
Pavel Borisov
Supabase


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