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

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
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-04 16:42:23
Message-ID: CAH2-Wz=9NNEayYctcyi4vCW91gQCtm-x0Z8ANz3oN7Fo40onOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 for the report and patch!
--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2019-04-04 16:59:27 Re: [GSoC 2019] Proposal: Develop Performance Farm Database and Website
Previous Message Stephen Frost 2019-04-04 16:24:52 Re: [PATCH v20] GSSAPI encryption support