From: | Alexandra Wang <alexandra(dot)wang(dot)oss(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Nikita Glukhov <glukhov(dot)n(dot)a(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, "David E(dot) Wheeler" <david(at)justatheory(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, matheusssilv97(at)gmail(dot)com |
Subject: | Re: SQL:2023 JSON simplified accessor support |
Date: | 2025-02-27 23:23:30 |
Message-ID: | CAK98qZ1rZaVNy6ViangQom4iinZVH7=ebqhTsPxMQbN5ZtE9XQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello hackers,
On Thu, Feb 27, 2025 at 9:46 AM Alexandra Wang <alexandra(dot)wang(dot)oss(at)gmail(dot)com>
wrote:
> Summary of changes:
>
> v8-0001 through v8-0005:
> Refactoring and preparatory steps for the actual implementation.
>
> v8-0006 (Implement read-only dot notation for JSONB):
> I removed the vars field (introduced in v7) from JsonbSubWorkspace
> after realizing that JsonPathVariable is not actually needed for
> dot-notation.
>
> v8-0007 (Allow wildcard member access for JSONB):
> I'm aware that the #if 0 in check_indirection() is not ideal. I
> haven’t removed it yet because I’m still reviewing other cases—beyond
> our JSONB simplified accessor use case—where this check should remain
> strict. I’ll post an additional patch to address this.
>
I made the following minor changes in v9:
- More detailed commit messages
- Additional tests
- Use "?column?" as the column name for trailing .*.
Other than that, the patches remain the same as the previous
version:
0001 - 0005: preparation steps for the actual implementation and do
not change or add new behavior.
0006: jsonb dot notation and sliced subscripting
0007: jsonb wildcard member access
Thanks,
Alex
Attachment | Content-Type | Size |
---|---|---|
v9-0003-Export-jsonPathFromParseResult.patch | application/octet-stream | 2.4 KB |
v9-0002-Allow-Generic-Type-Subscripting-to-Accept-Dot-Not.patch | application/octet-stream | 10.3 KB |
v9-0004-Extract-coerce_jsonpath_subscript.patch | application/octet-stream | 5.5 KB |
v9-0001-Allow-transformation-of-only-a-sublist-of-subscri.patch | application/octet-stream | 8.8 KB |
v9-0006-Implement-read-only-dot-notation-for-jsonb.patch | application/octet-stream | 26.8 KB |
v9-0007-Allow-wild-card-member-access-for-jsonb.patch | application/octet-stream | 18.9 KB |
v9-0005-Eanble-String-node-as-field-accessors-in-generic-.patch | application/octet-stream | 7.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2025-02-27 23:24:26 | Re: Make COPY format extendable: Extract COPY TO format implementations |
Previous Message | Melanie Plageman | 2025-02-27 22:57:50 | Re: Confine vacuum skip logic to lazy_scan_skip |