Re: GROUP BY array

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrey Mosienko <feo(at)feo(dot)org(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: GROUP BY array
Date: 2002-10-26 14:21:20
Message-ID: 27265.1035642080@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrey Mosienko <feo(at)feo(dot)org(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-10-26 14:31:44 Re: question about seq scan and index scan
Previous Message Hervé Piedvache 2002-10-26 13:19:52 Re: question about seq scan and index scan