Re: SQL:2023 JSON simplified accessor support
Vik Fearing <vik@postgresfriends.org>
From: Vik Fearing <vik@postgresfriends.org>
To: Alexandra Wang <alexandra.wang.oss@gmail.com>,
Mark Dilger <mark.dilger@enterprisedb.com>
Cc: Matheus Alcantara <matheusssilv97@gmail.com>,
Peter Eisentraut <peter@eisentraut.org>, Andrew Dunstan
<andrew@dunslane.net>, Nikita Glukhov <glukhov.n.a@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
"David E. Wheeler" <david@justatheory.com>,
jian he <jian.universality@gmail.com>
Date: 2025-03-27T14:27:50Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add test coverage for indirection transformation
- 64492917280a 19 (unreleased) landed
-
Fix typo in comment
- 81a61fde84ff 19 (unreleased) landed
-
Implementation of subscripting for jsonb
- 676887a3b0b8 14.0 cited
On 13/03/2025 15:02, Alexandra Wang wrote: > Hi Mark, > > Thank you so much for reviewing! I have attached the new patches. > Hi Alex, I am reviewing this from a feature perspective and not from a code perspective. On the whole, this looks good to me from a standards point of view. There are two things that stand out to me about this feature: 1) I am not seeing the ** syntax in the standard, so does it need to be signaled as not supported? Perhaps I am just overlooking something. 2) There is no support for <JSON item method>. Since this appears to be constructing a jsonpath query, could that not be added to the syntax and allow jsonpath to throw the error if the function doesn't exist? -- Vik Fearing