pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedjsonb array accessors
2+ messages / 2 participants
[nested] [flat]
* jsonb array accessors
@ 2023-11-04 18:33 PG Doc comments form <noreply@postgresql.org>
2023-11-04 22:32 ` Re: jsonb array accessors David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2023-11-04 18:33 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: yuxx0633@umn.edu
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/16/datatype-json.html
Description:
https://dbfiddle.uk/Dr-c-nqL
multiple subscripts for jsonb arrays do not behave as described on Table
8.25 in Postgres 16 docs / 8.14.7 jsonpath
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: jsonb array accessors
2023-11-04 18:33 jsonb array accessors PG Doc comments form <noreply@postgresql.org>
@ 2023-11-04 22:32 ` David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2023-11-04 22:32 UTC (permalink / raw)
To: yuxx0633@umn.edu <yuxx0633@umn.edu>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
On Saturday, November 4, 2023, PG Doc comments form <noreply@postgresql.org>
wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/datatype-json.html
> Description:
>
> https://dbfiddle.uk/Dr-c-nqL
>
> multiple subscripts for jsonb arrays do not behave as described on Table
> 8.25 in Postgres 16 docs / 8.14.7 jsonpath
>
That table describes jsonpath operations. Your example doesn’t involve
jsonpath at all; it uses an SQL-scoped operation/syntax.
You will need to use an operator or function that accepts jsonpath as its
argument if you want to avail yourself of jsonpath functionality.
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-11-04 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-11-04 18:33 jsonb array accessors PG Doc comments form <noreply@postgresql.org>
2023-11-04 22:32 ` David G. Johnston <david.g.johnston@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox