Re: unnest

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: John Hansen <john(at)geeknet(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: unnest
Date: 2004-11-09 02:18:21
Message-ID: Pine.LNX.4.58.0411091315420.11622@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • unnest at 2004-11-05 12:09:58 from John Hansen

Browse pgsql-hackers by date

  From Date Subject
Next Message Ed L. 2004-11-09 02:24:31 Re: server auto-restarts and ipcs
Previous Message Eric B.Ridge 2004-11-09 02:09:38 Re: unnest