Re:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re:
Дата
Msg-id 12560.982683386@sss.pgh.pa.us
обсуждение исходный текст
Ответ на  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> create table test (id int);
> insert into test values (1);
> insert into test values (2);
> insert into test values (3);
> select count(id) from test;

> You'll get

> ERROR:  ExecEvalAggref: no aggregates in this expression context

?? I don't:

regression=# create table test (id int);
CREATE
regression=# insert into test values (1);
INSERT 145145 1
regression=# insert into test values (2);
INSERT 145146 1
regression=# insert into test values (3);
INSERT 145147 1
regression=# select count(id) from test;
 count
-------
     3
(1 row)

regression=#

What platform are you on?  How did you build Postgres?  Do the
regression tests pass for you?

            regards, tom lane

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