Re: GROUP BY array

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GROUP BY array
Дата
Msg-id 27265.1035642080@sss.pgh.pa.us
обсуждение исходный текст
Ответ на GROUP BY array  (Andrey Mosienko <feo@feo.org.ru>)
Список pgsql-general
Andrey Mosienko <feo@feo.org.ru> writes:
> When it will be possible to do: GROUP BY some_array?

GROUP BY (also ORDER BY) will work on any datatype that has '<'
and '=' operators.

> As I read in 7.3 ORDER BY some_array will appear. Am I right?

Dunno where you read that.  AFAIK there is nothing in 7.3 for array '<'.
But you could write it yourself ...

            regards, tom lane

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

Предыдущее
От: Hervé Piedvache
Дата:
Сообщение: Re: question about seq scan and index scan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: question about seq scan and index scan