pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Rijkers <er@xs4all.nl>
To: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: JSON_TABLE
Date: Tue, 5 Apr 2022 00:16:52 +0200
Message-ID: <bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl> (raw)
In-Reply-To: <E1nbTEj-000KY7-B7@gemulon.postgresql.org>
References: <E1nbTEj-000KY7-B7@gemulon.postgresql.org>

Op 04-04-2022 om 22:23 schreef Andrew Dunstan:
> JSON_TABLE

Great that this is now committed!

I notice one changed item: the NESTED-PATH-phrase does not accept an 
alias anymore.  The JSON_PATH v59 patches still had:

| NESTED PATH json_path_specification [ AS path_name ]
   COLUMNS ( json_table_column [, ...] )

My complaint is only half-hearted because I don't really understand what 
the use of such nested-path aliases are.  But it's a change from the 
earlier patch, and the nested-path aliases are used too in the
2017-03 'Technical report ISO/IEC TR 19075-6', which is as near I have 
to a SQL Standard description.

FWIW, I attach example sql+data from that .pdf from ISO (which is not 
online anymore).


Thanks,

Erik Rijkers

Attachments:

  bugmaybe.sh (application/x-shellscript, 4.0K) download

view thread (6+ messages)  latest in thread

Message-ID: <bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl>
Permalink:  ../bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl/
Also on:    postgresql.org/message-id/bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: er@xs4all.nl, andrew@dunslane.net
  Subject: Re: pgsql: JSON_TABLE
  In-Reply-To: <bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl>
  References: <E1nbTEj-000KY7-B7@gemulon.postgresql.org> <bd76a661-51eb-6bc2-a2c2-cf226017093a@xs4all.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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