Re: GROUP BY array - Mailing list pgsql-general

From Tom Lane
Subject Re: GROUP BY array
Date
Msg-id 27265.1035642080@sss.pgh.pa.us
Whole thread Raw
In response to GROUP BY array  (Andrey Mosienko <feo@feo.org.ru>)
List 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 by date:

Previous
From: Hervé Piedvache
Date:
Subject: Re: question about seq scan and index scan
Next
From: Tom Lane
Date:
Subject: Re: question about seq scan and index scan