Re: BUG #2203: Group by, suggested "feature" - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #2203: Group by, suggested "feature"
Date
Msg-id 200601232020.03940.peter_e@gmx.net
Whole thread Raw
In response to BUG #2203: Group by, suggested "feature"  ("Robert Hostetter" <robert@newcovsoft.com>)
List pgsql-bugs
Robert Hostetter wrote:
> If you group by a primary key for a table,
> you still have to include all the other columns you SELECT from that
> row, even though its guaranteed uniuqe because its a primary key.

Yes, this feature request is known as supporting functional
dependencies.  We're aware of it.

> pAlso on a similar note, you can't group by any
> column you don't select.

Sure you can.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: BUG #2198: Now returns always same date and time during a session
Next
From: Reece Hart
Date:
Subject: Re: BUG #2178: NOT IN command don't work