Re: an aggregate array function

Поиск
Список
Период
Сортировка
От Dani Oderbolz
Тема Re: an aggregate array function
Дата
Msg-id 3F26916A.7030508@ecologic.de
обсуждение исходный текст
Ответ на an aggregate array function  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Ответы Re: an aggregate array function  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Merlin Moncure wrote:

> Dear hackers,
>
>  
>
> Do you think there would be any use for an aggregate which returns an 
> array of the aggregated (usually simple) type?  Has this already been 
> done by anyone?  I looked at the source and noticed that for each 
> inserted item, the array utility functions perform a deep copy of the 
> entire array (plus a reallocation).  Normally, this is no big deal, 
> but if executed in the query stage, it could be kind of slow.  I also 
> noticed that null values inside is an item on the todo list.  Is 
> anybody currently working on this?
>
>  
>
> Merlin
>
I got another question to this:
why does PostgreSQL support Arrays in the first place?
For my taste, its a very messy concept...

Regards,
Dani



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Make clean fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Make clean fails