Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbVED-0007hh-4U for pgsql-committers@arkaria.postgresql.org; Mon, 04 Apr 2022 22:31:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nbVEA-0006M0-Ro for pgsql-committers@arkaria.postgresql.org; Mon, 04 Apr 2022 22:31:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbVEA-0006Lr-Ku for pgsql-committers@lists.postgresql.org; Mon, 04 Apr 2022 22:31:14 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbVE6-0008Vh-Hl for pgsql-committers@lists.postgresql.org; Mon, 04 Apr 2022 22:31:13 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id 59ACEC0003; Mon, 4 Apr 2022 22:31:07 +0000 (UTC) Message-ID: <844dcd0e-3f02-ce5d-a319-7787c028d779@dunslane.net> Date: Mon, 4 Apr 2022 18:31:04 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: pgsql: JSON_TABLE Content-Language: en-US To: Erik Rijkers , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/4/22 18:16, Erik Rijkers wrote: > 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). > > These commits are being staggered. The last code patches will be committed tomorrow. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com