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

From Peter Geoghegan
Subject Re: Server Crash due to assertion failure in _bt_check_unique()
Date
Msg-id CAH2-Wz=9NNEayYctcyi4vCW91gQCtm-x0Z8ANz3oN7Fo40onOw@mail.gmail.com
Whole thread Raw
In response to Re: Server Crash due to assertion failure in _bt_check_unique()  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Responses Re: Server Crash due to assertion failure in _bt_check_unique()
List pgsql-hackers
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 for the report and patch!
-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [PATCH v20] GSSAPI encryption support
Next
From: Mark Wong
Date:
Subject: Re: [GSoC 2019] Proposal: Develop Performance Farm Database andWebsite