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 1li3nL-0000un-TP for pgsql-hackers@arkaria.postgresql.org; Sat, 15 May 2021 23:34:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1li3nJ-0000BJ-Pe for pgsql-hackers@arkaria.postgresql.org; Sat, 15 May 2021 23:34:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1li3nJ-0000B3-D0 for pgsql-hackers@lists.postgresql.org; Sat, 15 May 2021 23:34:05 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1li3nG-00032U-4W for pgsql-hackers@postgresql.org; Sat, 15 May 2021 23:34:04 +0000 Received: by mail-ot1-x32f.google.com with SMTP id d3-20020a9d29030000b029027e8019067fso2471448otb.13 for ; Sat, 15 May 2021 16:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=A/7jpqqlc71Le21hMGAHsBQdcRod102MYtXdUy1NAdc=; b=kFISJLYXIEeigVxmISWh2wzJ50Oy73NVnt1Rp/ZSa93Ou1p9Syizkz0m/+9hPWa6df Y/S6mfMIJVm7k9KTDJBLwLazkm+M90gO18nN0MojrTaRo1gylVTLy2WJqFf0VEe/vGqD DDt8C+BuXmyIwELLBSLDW+KXXT+nvfdZd6W7KfmsNja754+lcFHOiVe1CjtnQe9AtRYY hkJueT12mwxgOLRaHwysQrrImNHqtXDkdKIevC4aQvJLdWfE1lgGYacxM0WRTTC2giW/ fwiI4mWjd36Pc5l6ZygIOszQ+vcwUyPCwL0meGOI8+oUs91/ldU/9r2rblUKkNoB+qwx e3FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=A/7jpqqlc71Le21hMGAHsBQdcRod102MYtXdUy1NAdc=; b=euNRjY+KmlkjoEw02FRi4+eWe7lcMHIOytM6+Sn+gIAi/BbHiUGrOEPcP6rPwu1PL6 ggDvA5OwORLDkdZK0Z3xKIqyyT1c6IX7axUOJeCJ7m4NtA95VPHq1ETRzO7TT8TISAo8 wLDk/HE3Jp8RRhI+A18hIzpPpQ+FguACBZ2OoJgO0VYvQER/5xwPQmvuXjP4CS8Ik7Mu 4HnOAzMLk/4lTuRepgtdZulXoHU8w7Q7NlHs7NapHBRO83z6HLgnXA13RU+EQrs2Z3ce d4oKwuuQXw+6lPDhwAbButZdGfRIduvUmu6+2ucLDgRHB1zjyhC2ix0ks3PUnDGZYD0P ju/w== X-Gm-Message-State: AOAM532raDW3qSjPcSzfJ9juOmnbJE5dpUuLHc+rVktO+EKs6rNMQ4G/ toTo/XnLfUCgYJbX/QkTCFo5bw== X-Google-Smtp-Source: ABdhPJydsSPdIjBxoYN6lC802bw90ACyFfcC5cuqX8JmPdqRekWCqFINRMPw/gBNHcoR4LigArez/A== X-Received: by 2002:a9d:37e2:: with SMTP id x89mr46843669otb.352.1621121640226; Sat, 15 May 2021 16:34:00 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id f80sm2359200oob.22.2021.05.15.16.33.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 May 2021 16:33:59 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 89DF1800A3B; Sat, 15 May 2021 18:33:58 -0500 (CDT) Date: Sat, 15 May 2021 18:33:58 -0500 From: Justin Pryzby To: Alvaro Herrera Cc: Bruce Momjian , Tom Lane , pgsql-hackers@postgresql.org Subject: Re: PG 14 release notes, first draft Message-ID: <20210515233358.GA373@telsasoft.com> References: <20210515183015.GN22344@momjian.us> <20210515231228.GA3353@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210515231228.GA3353@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, May 15, 2021 at 07:12:28PM -0400, Alvaro Herrera wrote: > On 2021-May-15, Bruce Momjian wrote: > > On Fri, May 14, 2021 at 04:01:32PM -0400, Bruce Momjian wrote: > > > On Fri, May 14, 2021 at 03:39:39PM -0400, Tom Lane wrote: > > > > Bruce Momjian writes: > > > > > On Thu, May 13, 2021 at 09:01:41PM -0500, Justin Pryzby wrote: > > > > >> New SQL-accessible functionality should be included: > > > > >>> 8c15a29745 Allow ALTER TYPE to update an existing type's typsubscript value. > > > > > > > > > OK, text is: > > > > > > > > > > > > > > > > > > > > > > > > > > > > Allow ALTER TYPE to specify or remove a SUBSCRIPT handler > > > > > (Tom Lane) > > > > > > > > > > > > > > > > > > I don't understand why we'd bother to list that as a separate bullet item. > > > > It's an expected part of the custom-subscript capability, I'd think. > > > > > > I am not sure either. > > > > Removed. > > So now we don't have anything that mentions ALTER TYPE / SUBSCRIPT, > because the item is about JSONB, not about subscripts. Moreover it > seems misplaced in the "functions" subsection -- subscripting is > replacing what used to be function calls, but really it's more than > that. I think it should be in "datatypes", and I further think it > should mention ALTER TYPE SUBSCRIPT too. > > I, um, again think that the item should not be primarily about JSONB, > but about our (IMO groundbreaking) extensible subscripting work. Maybe it should be included, but merged with the existing item, like this. Allow subscripting of non-array types. This is implemented for the JSONB type, allowing to extract from and assign to JSONB documents. A new ALTER TYPE syntax allows to specify or remove a SUBSCRIPT handler. Merge with the hstore item? -- Justin