Re: Why no "array_sort" function?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Why no "array_sort" function?
Дата
Msg-id alpine.DEB.2.22.394.2005081039440.914063@pseudo
обсуждение исходный текст
Ответ на Re: Why no "array_sort" function?  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-hackers
Hello Sergei,

> Aggregate functions have syntax for ordering: just "select array_agg(i order by i) from ...."
> Described here: https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-AGGREGATES

Great, that's indeed enough for my usage, thanks for the tip!

The questions remains, why not provide an "array_sort", which could be 
useful in other contexts?

-- 
Fabien.



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

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Re: Why no "array_sort" function?
Следующее
От: Laurenz Albe
Дата:
Сообщение: COPY, lock release and MVCC