On 7/9/19 12:01 PM, Alvaro Herrera wrote:
> On 2019-Jul-08, Paul A Jungwirth wrote:
>
>> - You can subscript a multirange like you do an array (? This could be
>> a function instead.)
>
> Note that we already have a patch in the pipe to make subscripting an
> extensible operation, which would fit pretty well here, I think.
I'll take a look at that!
> Also, I suppose you would need unnest(multirange) to yield the set of
> ranges.
I think that would be really nice, although it isn't critical I think if
you can do something like UNNEST(multirange::tstzrange[]).
--
Paul ~{:-)
pj@illuminatedcomputing.com