Re: [BUGS] Always one row with group by / agregate

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Alain TESIO" <tesio(at)easynet(dot)fr>
Cc: "PGSQL Bugs" <pgsql-bugs(at)postgreSQL(dot)org>
Subject: Re: [BUGS] Always one row with group by / agregate
Date: 1999-12-27 15:52:43
Message-ID: 26173.946309963@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Alain TESIO" <tesio(at)easynet(dot)fr> writes:
> dip=> select x,min(y) from t group by x;
> x|min
> -+---
> |
> (1 row)

Yup, that's a bug --- with GROUP BY, no rows in should yield no groups
and hence no rows out. It's fixed for the next release.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 1999-12-27 16:00:38 Re: [BUGS] Equal test on strings doesn't ignore trailing spaces if the function 'lower' is applied
Previous Message Alain TESIO 1999-12-27 06:18:12 Equal test on strings doesn't ignore trailing spaces if the function 'lower' is applied