Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored - Mailing list pgsql-bugs

From David E. Wheeler
Subject Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored
Date
Msg-id 1DBB0108-3DB1-43BF-BA5A-DCF64743D895@justatheory.com
Whole thread Raw
In response to Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-bugs
On Nov 24, 2022, at 12:51, David E. Wheeler <david@justatheory.com> wrote:

> Ah, I see. SQL/JSON syntax gets a bit confusing relative to other flavors.

Yeah, this doesn’t seem right, either:

david=# select jsonb_path_exists('{"foo": {"bar": true}}', '$path', '{"path": "$.foo.bax"}');
 jsonb_path_exists
-------------------
 t

D


Attachment

pgsql-bugs by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: BUG #17694: In JSONPath expressions, characters between leading $ and dot appear to be ignored
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #17696: Creation of deferrable initially deferred constraint breaks before transaction commit