Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT
Date
Msg-id 5406c2b1-57c8-448b-97c7-8af295ba3869@dunslane.net
Whole thread Raw
In response to Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT  (jian he <jian.universality@gmail.com>)
Responses Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT
List pgsql-hackers
On 2026-03-12 Th 11:55 PM, jian he wrote:
> Hi.
>
> The regression test was very verbose; I removed some of it.
> Also polished function ExecEvalJsonIsPredicate a little bit.



Here's a v4. I changed resultBaseType to exprBaseType - I think it's 
clearer. I also trimmed the tests a bit more, and dropped the new 
objects after testing them. The  error message now shows the domain name 
rather than the underlying base type. I think that's more useful.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Exit walsender before confirming remote flush in logical replication
Next
From: Fujii Masao
Date:
Subject: Re: client_connection_check_interval default value