> > 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
Andreas Zeugswetter wrote: > > > > 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; > To my knowledge postgres has always allowed this syntax. IMO is seems harmless to continue. In any case, all of these syntax permutations will crash the backend in using 6.4.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера