Re: Server Crash due to assertion failure in _bt_check_unique()

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: Server Crash due to assertion failure in _bt_check_unique()
Date: 2019-04-05 01:30:52
Message-ID: CAE9k0Pk5-2RwxoHfeAGWbBWS9DCWS0d+Laq5VsB3wMZjU4nXsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 4, 2019 at 10:12 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:

> On Thu, Apr 4, 2019 at 4:06 AM Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)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
EnterpriseDB:http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Imai, Yoshikazu 2019-04-05 01:38:26 RE: Speed up transaction completion faster after many relations are accessed in a transaction
Previous Message Amit Langote 2019-04-05 01:30:32 Re: Speed up transaction completion faster after many relations are accessed in a transaction