Re: collect_corrupt_items_vacuum.patch

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: collect_corrupt_items_vacuum.patch
Дата
Msg-id CA+TgmoYmGN6ivwioc4YaEQqGOS2oH=0jDYMVghb6Vd5hx6bwtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: collect_corrupt_items_vacuum.patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: collect_corrupt_items_vacuum.patch  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, Jul 27, 2022 at 5:56 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Maybe we need a different function for pg_visibility to call?
> If we want ComputeXidHorizons to serve both these purposes, then it
> has to always deliver exactly the right answer, which seems like
> a definition that will be hard and expensive to achieve.

Yeah, I was thinking along similar lines.

I'm also kind of wondering why these calculations use
latestCompletedXid. Is that something we do solely to reduce locking?
The XIDs of running transactions matter, and their snapshots matter,
and the XIDs that could start running in the future matter, but I
don't know why it matters what the latest completed XID is.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Official Windows Installer and Documentation
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns