Re: jsonb array-style subscription - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: jsonb array-style subscription
Date
Msg-id 56D78606.4030300@BlueTreble.com
Whole thread Raw
In response to Re: jsonb array-style subscription  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: jsonb array-style subscription
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jsonb array-style subscription
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Fixing wrong comment on PQmblen and PQdsplen.