| From: | Marko Tiikkaja <marko(at)joh(dot)to> |
|---|---|
| To: | Merlin Moncure <mmoncure(at)gmail(dot)com>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
| Cc: | Florian Pflug <fgp(at)phlo(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, David Fetter <david(at)fetter(dot)org>, PostGreSql hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: array_length(anyarray) |
| Date: | 2014-01-10 09:52:21 |
| Message-ID: | 52CFC2D5.4080506@joh.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2014-01-10 10:00:40 | Re: array_length(anyarray) |
| Previous Message | Dean Rasheed | 2014-01-10 09:43:51 | Re: [PATCH] Negative Transition Aggregate Functions (WIP) |