Re: [HACKERS] Wishlist for next version: group by clause

From: David Hartwig <daveh(at)insightdist(dot)com>
To: De Clarke <de(at)ucolick(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Wishlist for next version: group by clause
Date: 1998-06-16 20:27:35
Message-ID: 3586D537.57ABC1DF@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Do you mean in a select statement? Such as:

SELECT func(date) as month, count(*) FROM foo GROUP BY month;

Or even:

SELECT count(*) FROM foo GROUP BY func(date);

The first is supported. The second would require some changes to the parser.

De Clarke wrote:

> I didn't realize PG could not do
>
> group by [function on column]
>
> Ouch!
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brett McCormick 1998-06-16 20:58:40 Re: [HACKERS] non-functional update notice unneccesarily
Previous Message Bruce Momjian 1998-06-16 19:09:41 Re: [HACKERS] Wishlist for next version: group by clause