Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz> writes:
> chris=# SELECT count(number) from subject ; # Correct, isn't it?
> ERROR: ExecEvalAggref: no aggregates in this expression context
make distclean, reconfigure, rebuild...
As I've told the last couple of people to report this same symptom,
you cannot just 'cvs update' and then 'make'. At least not unless
you enabled dependency tracking in your last configure, and even that
I consider less than reliable. I always do a distclean and full rebuild
after an update.
regards, tom lane