Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Maxim Orlov <orlovmg(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn
Date: 2022-11-24 11:13:37
Message-ID: CAA4eK1Lap5TYuWahq0svKu1PBCD20QGD+LLU6XWDGAUoHOnitg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 24, 2022 at 1:48 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>
> On Wed, Nov 23, 2022 at 12:00 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> Agreed not to have a test case for this.
>
> I've attached an updated patch. I've confirmed this patch works for
> all supported branches.
>

I have slightly changed the checks used in the patch, otherwise looks
good to me. I am planning to push (v11-v15) the attached tomorrow
unless there are more comments.

--
With Regards,
Amit Kapila.

Attachment Content-Type Size
v2-0001-Fix-uninitialized-access-to-InitialRunningXacts-d.patch application/octet-stream 1.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2022-11-24 11:19:10 Re: postgres_fdw: batch inserts vs. before row triggers
Previous Message Maxim Orlov 2022-11-24 10:27:16 Re: [BUG] FailedAssertion in SnapBuildPurgeOlderTxn