Re: SELECT, GROUP BY, and aggregates - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: SELECT, GROUP BY, and aggregates
Date
Msg-id 54DE5E58.8000403@gmx.net
Whole thread Raw
In response to Re: SELECT, GROUP BY, and aggregates  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-general
On 2/13/15 1:48 PM, Jeff Janes wrote:
> I waste an inordinate amount of time retyping select lists over into the
> group by list, or copying and pasting and then deleting the aggregate
> clauses.  It is an entirely pointless exercise.  I can't fault
> PostgreSQL for following the standard, but its too bad the standards
> aren't more sensible.

An extension like GROUP BY ALL might be useful, without breaking much.

Also note that you can group by primary key only.




pgsql-general by date:

Previous
From: "George Weaver"
Date:
Subject: Re: Unknown error while running <> postgresql_installer_dc46cfee2c\getlocales.exe
Next
From: Mathieu Basille
Date:
Subject: Re: Hardware requirements for a PostGIS server