Re: Why no "array_sort" function?

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: Why no "array_sort" function?
Дата
Msg-id 652461588926062@mail.yandex.ru
обсуждение исходный текст
Ответ на Why no "array_sort" function?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Why no "array_sort" function?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Hello

> mostly in an aggregation to show
> in a compact way what items were grouped together.

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

regards, Sergei



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

Предыдущее
От: Virender Singla
Дата:
Сообщение: Postgres default FILLFACTOR value
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Why no "array_sort" function?