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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Always one row with group by / agregate
Дата
Msg-id 26173.946309963@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Always one row with group by / agregate  ("Alain TESIO" <tesio@easynet.fr>)
Список pgsql-bugs
"Alain TESIO" <tesio@easynet.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Alain TESIO"
Дата:
Сообщение: Equal test on strings doesn't ignore trailing spaces if the function 'lower' is applied
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Equal test on strings doesn't ignore trailing spaces if the function 'lower' is applied