On Thu, Nov 19, 2009 at 12:43:38PM -0500, Merlin Moncure wrote: > we could use a version > of unnest that works like that (returns idx, elem)? It would be a > small efficiency win over generate_series based approaches. What would "idx" look like for multidimensional arrays? I think PG needs a sensible way of dealing with these before you attempt to modify unnest. -- Sam http://samason.me.uk/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general