| От | Ed Loehr |
|---|---|
| Тема | parser oddity (t.count) |
| Дата | |
| Msg-id | 392D4963.74C9E642@austin.rr.com обсуждение исходный текст |
| Ответы |
Re: parser oddity (t.count)
|
| Список | pgsql-hackers |
Here's what I thought to be an odd result from the 7.0beta3 parser... create table foo (id serial, h_count integer); insert into foo (h_count) values (10); create table temp_foo as select * from foo; drop table foo; drop sequence foo_id_seq; create table foo (id serial, h_count integer); insert into foo (id, h_count) select t.id, t.count from temp_foo t; ERROR: Attribute t.id must be GROUPed or used in an aggregate function I mislabeled the 't.h_count' column in my INSERT statement as 't.count', and what I found strange was that the parser evidently thinks t.count is an aggregate. Is 't.count' valid use/syntax for an aggregate? Regards, Ed Loehr
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера