AW: [HACKERS] 6.4 Aggregate Bug

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема AW: [HACKERS] 6.4 Aggregate Bug
Дата
Msg-id 01BDCF70.C1032EE0@zeugswettera.user.lan.at
обсуждение исходный текст
Список pgsql-hackers
>
>    select func(x), aggfunc(y) group by func
>        CRASHES
>

I think this should be disallowed syntax. Note that func is a system generated label
in this case, that's probably why the parser does not complain. The syntax has to be:

select func(x), aggfunc(y) group by func(x);  -- or

select func(x) as func, aggfunc(y) group by func;

Andreas


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

Предыдущее
От: Andreas Zeugswetter
Дата:
Сообщение: USE_LOCALE and unsigned char *
Следующее
От: David Hartwig
Дата:
Сообщение: Re: [HACKERS] Regression test status (was type coersion)