Re: possible deadlock: different lock ordering for heap pages

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: "Nishant, Fnu" <nishantf(at)amazon(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: possible deadlock: different lock ordering for heap pages
Date: 2019-02-04 02:29:08
Message-ID: CAA4eK1+WeC3gQkFBJGrW6_8d5FiO-fCTcuQn9qjLdZ4xZcvRdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 1, 2019 at 10:50 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Mon, Jan 21, 2019 at 10:39 PM Nishant, Fnu <nishantf(at)amazon(dot)com> wrote:
> >
> > Thanks Amit for your review.
> >
> > On 1/20/19, 6:55 AM, "Amit Kapila" <amit(dot)kapila16(at)gmail(dot)com> wrote:
> > > I think you need to change below code as well....
> > Assert(buffer2 == InvalidBuffer || buffer1 <= buffer2);
> >
> > Done. Updated the patch.
> >
>
> Attached is an updated patch. I have edited comments and commit
> message in the patch. I would like to backpatch this till 9.4 unless
> anyone thinks otherwise.
>

Pushed this patch and backpatched till 9.4.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-02-04 02:29:34 Re: log bind parameter values on error
Previous Message Michael Paquier 2019-02-04 02:28:37 Re: shared-memory based stats collector