Re: possible deadlock: different lock ordering for heap pages - Mailing list pgsql-hackers

From Nishant, Fnu
Subject Re: possible deadlock: different lock ordering for heap pages
Date
Msg-id 8935951A-0F4D-42D5-AC9A-1EF5A4B907F2@amazon.com
Whole thread Raw
In response to Re: possible deadlock: different lock ordering for heap pages  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: possible deadlock: different lock ordering for heap pages  ("Nishant, Fnu" <nishantf@amazon.com>)
Re: possible deadlock: different lock ordering for heap pages  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Thanks Amit for your review.

On 1/20/19, 6:55 AM, "Amit Kapila" <amit.kapila16@gmail.com> wrote:
    > I think you need to change below code as well....
       Assert(buffer2 == InvalidBuffer || buffer1 <= buffer2);

Done. Updated the patch.

Will wait for Robert comments.

Thanks
-Nishant

    


Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thread-unsafe coding in ecpg
Next
From: Andres Freund
Date:
Subject: Re: "ALTER TRIGGER .. RENAME TO" broken with the "Remove WITH OIDS"commit.