Re: ri_Fast* crash w/ nullable UNIQUE constraint - Mailing list pgsql-hackers

From Amit Langote
Subject Re: ri_Fast* crash w/ nullable UNIQUE constraint
Date
Msg-id CA+HiwqF4ZXcGiTzyhnDkYot-dDtTz4aZtieRR=aoY-Hz+bG48A@mail.gmail.com
Whole thread
In response to Re: ri_Fast* crash w/ nullable UNIQUE constraint  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Hi Noah,

On Mon, Jul 6, 2026 at 6:47 AM Noah Misch <noah@leadboat.com> wrote:
>
> On Sun, Jul 05, 2026 at 02:05:33PM -0700, Noah Misch wrote:
> > attached demo patch shows a crash from this.  I had Opus 4.8 write the demo,
> > and it included a fix that I've not vetted.  But I've vetted that reverting
> > the src/backend changes and running "make -C src/test/isolation check" does
> > see the crash:
> >
> >   TRAP: failed Assert("!isnull[i]"), File: "ri_triggers.c", Line: 3431, PID: 297407
>
> Here's the attachment I forgot.

Thanks for the review.

I'll take a look as soon as I'm done addressing the subxact
fastpath-buffering issue in the other thread [1].

--
Thanks, Amit Langote

[1] https://www.postgresql.org/message-id/20260705222115.be.noahmisch%40microsoft.com



pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Add missing CustomPathMethods on typedefs.list
Next
From: michal.dtz@gmail.com
Date:
Subject: Re: Schema-qualify the equality operator when deparsing NULLIF/IS DISTINCT FROM