Re: BUG #18035: Assertion failure in jsonb_path_query

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: BUG #18035: Assertion failure in jsonb_path_query
Дата
Msg-id CAApHDvqZ2S-Lcs0r-m2761kScO4T-Y2y7+V1L_9Pd=XC0HSU0g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18035: Assertion failure in jsonb_path_query  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-bugs
On Wed, 26 Jul 2023 at 02:55, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Tue, 25 Jul 2023 at 22:01, PG Bug reporting form
> <noreply@postgresql.org> wrote:
> > On REL_16_BETA2 the following query: select jsonb_path_query('{}', '($[0]
> > like_regex "").type()');
> > produces assert for me:
>
> I'm no json path expert, but from what I can tell, this Assert is just
> missing a condition for jpiLikeRegex.
>
> With that added, it seems to properly determine that the regex test
> returns boolean.

I've now pushed the patch to fix the Assert.

David



В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Andrey M. Borodin"
Дата:
Сообщение: Re: DROP DATABASE deadlocks with logical replication worker in PG 15.1
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18045: NpgSQL installation not working