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 1liTlV-0004FA-5a for pgsql-hackers@arkaria.postgresql.org; Mon, 17 May 2021 03:17:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1liTlT-00084T-F4 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 May 2021 03:17:55 +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 1liTlT-00084L-7p for pgsql-hackers@lists.postgresql.org; Mon, 17 May 2021 03:17:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1liTlO-0005gi-QP for pgsql-hackers@postgresql.org; Mon, 17 May 2021 03:17:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14H3Hksv2706968; Sun, 16 May 2021 23:17:46 -0400 From: Tom Lane To: Bruce Momjian cc: Alvaro Herrera , Justin Pryzby , pgsql-hackers@postgresql.org Subject: Re: PG 14 release notes, first draft In-reply-to: <20210517030628.GB24531@momjian.us> References: <20210515231228.GA3353@alvherre.pgsql> <2483193.1621132028@sss.pgh.pa.us> <20210517030628.GB24531@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Sun, 16 May 2021 23:06:28 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2706966.1621221466.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 16 May 2021 23:17:46 -0400 Message-ID: <2706967.1621221466@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > OK, I moved the entry into 'data types', and listed two entries instead > of one: = > > Allow extensions and built-in data types to implement subscripting (Tom= Lane) > Better, but Dmitry Dolgov gets the credit not me. > > Previously subscript handling was hard-coded into the server and > was difficult to add to date types. > > "Difficult"? I don't think it was possible at all. Perhaps Previously subscript handling was hard-coded into the server, so that subscripting could only be applied to array types. This change allows subscript notation to be used to extract or assign portions of a value of any type for which the concept makes sense. > JSONB subscripting can be used to extract from and assign to > JSONB documents. Perhaps "extract and assign to portions of JSONB documents" or something like that? regards, tom lane