Re: SQL:2023 JSON simplified accessor support
Alexandra Wang <alexandra.wang.oss@gmail.com>
From: Alexandra Wang <alexandra.wang.oss@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: 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-02-05T13:39:15Z
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
Attachments
- v7-0002-Pass-field-accessors-to-generic-subscripting.patch (application/octet-stream) patch v7-0002
- v7-0005-Allow-processing-of-.-by-generic-subscripting.patch (application/octet-stream) patch v7-0005
- v7-0001-Allow-transformation-only-of-a-sublist-of-subscri.patch (application/octet-stream) patch v7-0001
- v7-0003-Export-jsonPathFromParseResult.patch (application/octet-stream) patch v7-0003
- v7-0004-Implement-read-only-dot-notation-for-jsonb-using-.patch (application/octet-stream) patch v7-0004
Hi, On Wed, Feb 5, 2025 at 1:20 AM Alexandra Wang <alexandra.wang.oss@gmail.com> wrote: > I attached a minimized version of Nikita’s patch (v7): > > - The first three patches are refactoring steps that could be squashed > if preferred. > - The last two patches implement dot notation and wildcard access, > respectively. > > Changes in this new version: > - Removed code handling hstore, as Andrew pointed out it isn’t > directly relevant to JSON access and should be handled separately. > - Split tests for dot notation and wildcard access. > - Dropped the two patches in v6 that enabled non-parenthesized column > references (per Nikita’s suggestion, this will need its own separate > discussion). > It appears that the Commitfest app selected the wrong patch. Sorry about the confusion! I'm reposting the patches to correct this.