Re: Server Crash due to assertion failure in _bt_check_unique() - Mailing list pgsql-hackers

From Ashutosh Sharma
Subject Re: Server Crash due to assertion failure in _bt_check_unique()
Date
Msg-id CAE9k0Pk5-2RwxoHfeAGWbBWS9DCWS0d+Laq5VsB3wMZjU4nXsg@mail.gmail.com
Whole thread Raw
In response to Re: Server Crash due to assertion failure in _bt_check_unique()  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Thu, Apr 4, 2019 at 10:12 PM Peter Geoghegan <pg@bowt.ie> wrote:
On Thu, Apr 4, 2019 at 4:06 AM Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
> Attached is the patch with above changes. Please let me know if my understanding is wrong. Thanks.

You have it right. This bug slipped in towards the end of development,
when the insertstate struct was introduced.

I have pushed something very close to the patch you posted. (I added
an additional assertion, and tweaked the comments.)


Thanks Peter :)
 
Thanks for the report and patch!
--
Peter Geoghegan

-- 
With Regards,
Ashutosh Sharma

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Speed up transaction completion faster after many relations areaccessed in a transaction
Next
From: "Imai, Yoshikazu"
Date:
Subject: RE: Speed up transaction completion faster after many relations areaccessed in a transaction