Is cachedFetchXidStatus provably valid?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Is cachedFetchXidStatus provably valid?
Дата
Msg-id CAHyXU0xTrwnFU0MaZ1EsgRihD_f5V9FE2W=Bf2kfgxVpcnCK8Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Is cachedFetchXidStatus provably valid?
Список pgsql-hackers
It's probably an academic concern, but what happens if a backend saves
off cachedFetchXidStatus and then sleeps for a very long time.  During
that time an xid wraparound happens and the backend wakes up and
happens to read another unhinted tuple with the same xid and a
different commit status.  This is obviously incredibly unlikely, but
shouldn't cachedFetchXid be cleared at some appropriate point --
perhaps end of transaction?

merlin


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