Re: BUG #19491: Segmentation fault triggered by IS NULL

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>
Cc: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, 798604270(at)qq(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19491: Segmentation fault triggered by IS NULL
Date: 2026-06-08 18:40:20
Message-ID: aicMbOKGSY7Xsofk@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2026-Jun-06, Srinath Reddy Sadipiralla wrote:

> > Thanks, that reads better. v2 attached, raising ERRCODE_CANNOT_COERCE
> > right where the coercion fails:
> >
> > ERROR: cannot cast type sqljson_mystr to text
> >
> > which also covers the JSON() WITH UNIQUE KEYS path.
>
> Thanks for the updated patch, LGTM.

Thanks -- will review, hoping to push soon.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"That sort of implies that there are Emacs keystrokes which aren't obscure.
I've been using it daily for 2 years now and have yet to discover any key
sequence which makes any sense." (Paul Thomas)

In response to

Browse pgsql-bugs by date

  From Date Subject
Previous Message Tom Lane 2026-06-08 16:00:20 Re: Hashed SAOP on composite type with non-hashable column errors at runtime