Is cachedFetchXidStatus provably valid?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Is cachedFetchXidStatus provably valid?
Дата
Msg-id CAHyXU0xTrwnFU0MaZ1EsgRihD_f5V9FE2W=Bf2kfgxVpcnCK8Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Is cachedFetchXidStatus provably valid?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: uncataloged tables are a vestigial husk
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [RFC][PATCH] Logical Replication/BDR prototype and architecture