Re: array_length(anyarray) - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: array_length(anyarray)
Date
Msg-id 52CFC2D5.4080506@joh.to
Whole thread Raw
In response to Re: array_length(anyarray)  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: array_length(anyarray)
List pgsql-hackers
On 1/10/14, 10:41 AM, Merlin Moncure wrote:
> What's needed for better iteration support (IMO)
> is a function that does what unnest does but returns an array on
> indexes (one per dimsension) -- a generalization of the
> _pg_expandarray function.  Lets' say 'unnest_dims'.

So  unnest_dims('{{1,2},{3,4}}'::int[])  would return  VALUES (1, 
'{1,2}'::int[]), (2, '{3,4}'::int[])?  If so, then yes, that's a 
functionality I've considered us to have been missing for a long time.


Regards,
Marko Tiikkaja



pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Next
From: Merlin Moncure
Date:
Subject: Re: array_length(anyarray)