pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Bruce Momjian <bruce@momjian.us>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 14 release notes, first draft
Date: Wed, 12 May 2021 18:06:31 -0400
Message-ID: <20210512220631.GA7138@alvherre.pgsql> (raw)
In-Reply-To: <20210512194814.GM6088@momjian.us>

On 2021-May-12, Bruce Momjian wrote:

> OK, I added it into the existing entry:
> 
> 	<listitem>
> 	<!--
> 	Author: Alexander Korotkov <akorotkov@postgresql.org>
> 	2021-01-31 [676887a3b] Implementation of subscripting for jsonb
> 	Author: Alexander Korotkov <akorotkov@postgresql.org>
> 	2021-01-31 [81fcc72e6] Filling array gaps during jsonb subscripting
> 	Author: Alexander Korotkov <akorotkov@postgresql.org>
> 	2021-01-31 [aa6e46daf] Throw error when assigning jsonb scalar instead of a com
> 	-->
> 	
> 	<para>
> 	Allow subscripting of jsonb (Dmitry Dolgov)
> 	</para>
> 	
> 	<para>
> 	Subscripting can be used to extract from and assign to jsonb documents.
> 	Subscripting is now extensible so extensions and built-in data type can make use of this.
> 	</para>
> 	</listitem>

I dunno, this seems to approach the feature from the specifics rather
than its full generality.  I would have said something like 

 Make subscripting user-extensible for "container" types
    <!-- maybe "array-like types" -->

  Subscripting JSONB is now integrated in core, and adding user-defined
  subscripting for other types is possible.


-- 
Álvaro Herrera       Valdivia, Chile
Bob [Floyd] used to say that he was planning to get a Ph.D. by the "green
stamp method," namely by saving envelopes addressed to him as 'Dr. Floyd'.
After collecting 500 such letters, he mused, a university somewhere in
Arizona would probably grant him a degree.              (Don Knuth)





view thread (173+ messages)  latest in thread

Message-ID: <20210512220631.GA7138@alvherre.pgsql>
Permalink:  ../20210512220631.GA7138@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210512220631.GA7138@alvherre.pgsql

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, bruce@momjian.us, pryzby@telsasoft.com
  Subject: Re: PG 14 release notes, first draft
  In-Reply-To: <20210512220631.GA7138@alvherre.pgsql>

* 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