| From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
|---|---|
| To: | a(dot)kozhemyakin(at)postgrespro(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: BUG #18035: Assertion failure in jsonb_path_query |
| Date: | 2023-08-01 13:46:19 |
| Message-ID: | CAApHDvqZ2S-Lcs0r-m2761kScO4T-Y2y7+V1L_9Pd=XC0HSU0g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Wed, 26 Jul 2023 at 02:55, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
>
> On Tue, 25 Jul 2023 at 22:01, PG Bug reporting form
> <noreply(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2023-08-01 13:48:43 | Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG |
| Previous Message | Andrey M. Borodin | 2023-08-01 13:15:00 | Re: DROP DATABASE deadlocks with logical replication worker in PG 15.1 |