Re: jsonb array-style subscription
Jim Nasby <jim.nasby@bluetreble.com>
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Vitaly Burovoy <vitaly.burovoy@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Dmitry Dolgov <9erthalion6@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2016-03-03T00:32:06Z
Lists: pgsql-hackers
On 3/2/16 6:24 PM, Tom Lane wrote: > If the patch were proposing a similar amount of new infrastructure to > support some datatype-extensible concept of subscripting, I'd be much > happier about it. +1 > I believe there's been some handwaving in the past about extensible > approaches to subscripting, though I haven't got time to troll the > archives for it right now. I'd be able to make use of that in my ndarray data type. It would also be nice to be able to add things like matrix types, sparse arrays, and variable size arrays (ie: list of lists), and subscripting is how you'd want to interface with all of those. Presumably the point type is handled specially today, so that should be taken care off too. -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Experts in Analytics, Data Architecture and PostgreSQL Data in Trouble? Get it in Treble! http://BlueTreble.com
Commits
-
Throw error when assigning jsonb scalar instead of a composite object
- aa6e46daf530 14.0 landed
-
Filling array gaps during jsonb subscripting
- 81fcc72e6622 14.0 landed
-
Implementation of subscripting for jsonb
- 676887a3b0b8 14.0 landed