Re: So what's an "empty" array anyway?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: So what's an "empty" array anyway?
Дата
Msg-id 1224661249.27145.198.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: So what's an "empty" array anyway?  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: So what's an "empty" array anyway?  ("David E. Wheeler" <david@kineticode.com>)
Re: So what's an "empty" array anyway?  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Bitmap Indexes: request for feedback
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Multi CPU Queries - Feedback and/or suggestions wanted!