Re: Question about building an exportable snapshop

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Question about building an exportable snapshop
Date: 2021-10-20 11:41:22
Message-ID: CAFiTN-v_sd6EpXpgYyR_5zSwk95=ZgkGyHh6ZRxjDMvJ47C80A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 20, 2021 at 5:06 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Tue, Oct 12, 2021 at 6:21 PM Dilip Kumar <dilipbalaut(at)gmail(dot)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?

Yeah, you are right.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2021-10-20 11:47:02 Re: pgsql: Document XLOG_INCLUDE_XID a little better
Previous Message Amit Kapila 2021-10-20 11:36:15 Re: Question about building an exportable snapshop