Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT
Дата
в 15:30:27
Msg-id
5406c2b1-57c8-448b-97c7-8af295ba3869@dunslane.net
Ответ на
Список
Дерево обсуждения
IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT jian he <jian.universality@gmail.com>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT Tom Lane <tgl@sss.pgh.pa.us>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT jian he <jian.universality@gmail.com>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT jian he <jian.universality@gmail.com>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT Andrew Dunstan <andrew@dunslane.net>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT Kirill Reshke <reshkekirill@gmail.com>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT Andrew Dunstan <andrew@dunslane.net>
Re: IS JSON predicate support for domain base type as JSON/JSONB/BYTEA/TEXT Andrew Dunstan <andrew@dunslane.net>

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
В списке pgsql-hackers по дате отправления
От: Greg Sabino Mullane
Дата:
От: Fujii Masao
Дата:
FAQ