Re: ri_Fast* crash w/ nullable UNIQUE constraint

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: zhjwpku(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ri_Fast* crash w/ nullable UNIQUE constraint
Date: 2026-07-07 13:44:24
Message-ID: CA+HiwqF4ZXcGiTzyhnDkYot-dDtTz4aZtieRR=aoY-Hz+bG48A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Noah,

On Mon, Jul 6, 2026 at 6:47 AM Noah Misch <noah(at)leadboat(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message michal.dtz 2026-07-07 14:01:05 Re: Schema-qualify the equality operator when deparsing NULLIF/IS DISTINCT FROM
Previous Message ZizhuanLiu X-MAN 2026-07-07 13:40:10 Re: support create index on virtual generated column.