taking a stab at agg(foo ORDER BY bar)

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема taking a stab at agg(foo ORDER BY bar)
Дата
Msg-id 87hbuftudi.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответы Re: taking a stab at agg(foo ORDER BY bar)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The spec defines array_agg(foo ORDER BY ...) which we don't implement
yet; obviously, we have no reason not to define this for any
aggregate, rather than just array_agg.

This doesn't seem to present any problems as far as the syntax goes,
and the actual execution is just a small matter of coding, but I'm not
seeing the best way to handle it in parse-analysis. All the existing
infrastructure for ORDER BY seems to be dependent on targetlists, which
obviously we don't have in the context of an aggregate call.

Ideas?

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Getting the red out (of the buildfarm)
Следующее
От: Simon Riggs
Дата:
Сообщение: Hot Standby 0.2.2