Re: Aggregation ordering with GROUP BY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aggregation ordering with GROUP BY
Дата
Msg-id 17746.1123730289@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Aggregation ordering with GROUP BY  (Thomas Schoen <t.schoen@vitrado.de>)
Список pgsql-general
Thomas Schoen <t.schoen@vitrado.de> writes:
> Now, finally, my questions are:
> - Is there any guaranty, that two aggregates in a GROUP BY statement are
> aggregated in the same order?
> - If yes: is there any guaranty the behaviour won't change in future
> versions of PG. (I suppose SQL-standard doesn't make any statement about
> how the behaviour should be here.)

No, the spec doesn't promise anything, and so we don't either.  In
practice though I find it hard to visualize why the implementation would
not process all the aggregates in parallel.

            regards, tom lane

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: EnterpriseDB mentioned in eweek, and...
Следующее
От: William Bug
Дата:
Сообщение: Re: Inheritance vs. LIKE - need advice