Re: Aggregate ORDER BY patch

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Aggregate ORDER BY patch
Дата
Msg-id 407d949e0911130142l12c98732w3aa7d1d4a63d3642@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Aggregate ORDER BY patch  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Aggregate ORDER BY patch
Список pgsql-hackers
On Fri, Nov 13, 2009 at 7:54 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> Andrew Gierth wrote:
>> Herewith a patch to implement agg(foo ORDER BY bar) with or without
>> DISTINCT, etc.
>
> What does that mean? Aggregate functions are supposed to be commutative,
> right?

We certainly have non-commutative agggregates currently, notably array_agg()

I suspect it would be good to have a flag marking the commutative ones


-- 
greg


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Check constraint on domain over an array not executed for array literals
Следующее
От: Joachim Wieland
Дата:
Сообщение: Re: Listen / Notify rewrite