Re: unnest - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: unnest
Date
Msg-id Pine.LNX.4.58.0411091315420.11622@linuxworld.com.au
Whole thread Raw
In response to unnest  ("John Hansen" <john@geeknet.com.au>)
List pgsql-hackers
On Fri, 5 Nov 2004, John Hansen wrote:

> Attached, array -> rows iterator.
>
> select * from unnest(array[1,2,3,4,5]);
>
> Unnest
> ---------------
>  1
>  2
>  3
>  4
>  5
> 5 rows

This mechanism is actually designed for the multiset data type in SQL.
AFAICT, our elementary one dimensional array handling mimics SQL
multisets. Is there any intention to bring this into line with the spec or
would that be mere pedantism?

Thanks,

Gavin


pgsql-hackers by date:

Previous
From: Eric B.Ridge
Date:
Subject: Re: unnest
Next
From: John Hansen
Date:
Subject: Re: unnest