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 <br...@momjian.us> 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: > > > > > > > <listitem> > > > > <!-- > > > > Author: Tom Lane <t...@sss.pgh.pa.us> > > > > 2020-12-11 [8c15a2974] Allow ALTER TYPE to update an existing > > > > type's typsubscri > > > > --> > > > > > > > <para> > > > > Allow ALTER TYPE to specify or remove a SUBSCRIPT handler > > > > (Tom Lane) > > > > </para> > > > > </listitem> > > > > > > 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. -- Álvaro Herrera Valdivia, Chile