Re: Question about building an exportable snapshop

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Question about building an exportable snapshop
Дата
Msg-id CAA4eK1J8L2zydAKfyYdnMxY7xWMCi79vD56qvqt7238TZ4q1Ag@mail.gmail.com
обсуждение исходный текст
Ответ на Question about building an exportable snapshop  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: Question about building an exportable snapshop  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
On Tue, Oct 12, 2021 at 6:21 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> While working on the issue [1], I realize that if a subtransaction
> hasn't done any catalog change then we don't add this in the commit
> xid list even if we are building a full snapshot [2].
>

I think this is true only if we have reached SNAPBUILD_CONSISTENT
state otherwise, we are adding subtransactions in the committed xip
array by setting 'needs_timetravel' to true. And if we have already
reached a consistent state before it then we anyway don't need to add
this. If this is true, do you still see any problem?

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Japin Li
Дата:
Сообщение: Re: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Question about building an exportable snapshop