Re: collect_corrupt_items_vacuum.patch

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: collect_corrupt_items_vacuum.patch
Дата
Msg-id Y0ZNU8v0bYIHc5cj@paquier.xyz
обсуждение исходный текст
Ответ на Re: collect_corrupt_items_vacuum.patch  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: collect_corrupt_items_vacuum.patch  (Nikita Malakhov <hukutoc@gmail.com>)
Список pgsql-hackers
On Wed, Jul 27, 2022 at 09:47:19PM -0400, Robert Haas wrote:
> 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.

Daniel, it seems to me that this thread is waiting for some input from
you, based on the remarks of Tom and Robert.  Are you planning to do
so?  This is marked as a bug fix, so I have moved this item to the
next CF for now.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Error "initial slot snapshot too large" in create replication slot
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Fix alter subscription concurrency errors