Re: [PATCH] Allow star syntax in GROUP BY, as a shorthand for all table columns - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Allow star syntax in GROUP BY, as a shorthand for all table columns
Date
Msg-id 14953.1307553735@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Allow star syntax in GROUP BY, as a shorthand for all table columns  (Marti Raudsepp <marti@juffo.org>)
Responses Re: [PATCH] Allow star syntax in GROUP BY, as a shorthand for all table columns
List pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> This patch enables the syntax "GROUP BY tablename.*" in cases where
> earlier you'd get the error "field must appear in the GROUP BY clause
> or be used in an aggregate function"

Is this really necessary now that we know about "GROUP BY primary key"?

> The patch is so trivial that I'm wondering why it hasn't been
> implemented before.

Probably because it's a nonstandard kluge ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: reducing the overhead of frequent table locks - now, with WIP patch
Next
From: Joshua Berkus
Date:
Subject: Re: reducing the overhead of frequent table locks - now, with WIP patch