Re: So what's an "empty" array anyway? - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: So what's an "empty" array anyway?
Date
Msg-id 1224661249.27145.198.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: So what's an "empty" array anyway?  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: So what's an "empty" array anyway?
Re: So what's an "empty" array anyway?
List pgsql-hackers
On Tue, 2008-10-21 at 14:03 -0700, David E. Wheeler wrote:
> On Oct 21, 2008, at 13:58, Tom Lane wrote:
> 
> >> If we got rid of zero dimension arrays, how would I declare a new
> >> empty array in a PL/pgSQL function?
> >
> > Same as before, I think: initialize it to '{}'.  What's at stake here
> > is exactly what does that notation mean ...
> 
> An empty, single-dimension array. But I got the impression from Simon  
> that he thought it should be NULL.

I meant the dimension of {} should be NULL.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Bitmap Indexes: request for feedback
Next
From: Simon Riggs
Date:
Subject: Re: Multi CPU Queries - Feedback and/or suggestions wanted!