first-draft patch for aggregate ORDER BY

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема first-draft patch for aggregate ORDER BY
Дата
Msg-id 873a5ynes6.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Список pgsql-hackers
What it does:

# select array_agg(b order by a)
    from (values (3,'foo'),(2,'bar'),(1,'baz')) v(a,b);
   array_agg
---------------
 {baz,bar,foo}
(1 row)

What it doesn't do:

  - no docs or regression tests yet

  - no support for agg(... ORDER BY ...) OVER window
    (which the spec does allow)

Requires initdb. Beware of bugs. Slippery when wet.

--
Andrew (irc:RhodiumToad)


Вложения

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: commented out para in docs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Making hash indexes worthwhile