Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]
Дата
Msg-id 20070815041526.GB12471@fetter.org
обсуждение исходный текст
Ответ на Re: [mmoncure@gmail.com: Re: [GENERAL] array_to_set functions]  (Decibel! <decibel@decibel.org>)
Список pgsql-hackers
On Tue, Aug 14, 2007 at 04:08:27PM -0500, Decibel! wrote:
> On Tue, Aug 14, 2007 at 05:38:33PM +0200, Pavel Stehule wrote:
> > 2007/8/14, Bruce Momjian <bruce@momjian.us>:
> > >
> > > TODO item?
> > >
> > >   + If your life is a hard drive, Christ can be your backup. +
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 6: explain analyze is your friend
> > 
> > I am against. It's too simple do it in SQL language.
> 
> Why make everyone who works with arrays create a function just to do
> this? Something that's of use to common users should be included, simple
> or not.

As I recall, this wasn't included because it didn't do all of what the
SQL:2003 standard UNNEST does, although looking it over, the only
thing it "doesn't do" is to allow the results to come back in any
order other than the array index's.  Sadly, UNNEST would be a new
feature, and we're *way* past that for 8.3 :/

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CVS corruption/mistagging?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: CVS corruption/mistagging?