Re: array_agg and array_accum (patch)

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: array_agg and array_accum (patch)
Дата
Msg-id 20081031121954.GG2459@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Re: array_agg and array_accum (patch)  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Thu, Oct 30, 2008 at 11:19:15PM -0700, Jeff Davis wrote:
> If there are potential problems with the standard
> (where we don't want to implement a violation), we should just do
> array_accum(). If not, we might as well do the standard array_agg(),
> perhaps without the ORDER BY clause.

I've wanted an array_sort() function before; having this functionality
as a separate function also seems considerably prettier than some ad
hoc grammar, it also generalizes nicely to cases where the array isn't
coming from an aggregate.

 Sam


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: PG_PAGE_LAYOUT_VERSION 5 - time for change
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Synchronous replication patch v1