Re: Bug: COUNT() and ExecEvalAggref error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dan Lyke <danlyke(at)flutterby(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug: COUNT() and ExecEvalAggref error
Date: 2001-02-21 23:34:24
Message-ID: 13000.982798464@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dan Lyke <danlyke(at)flutterby(dot)com> writes:
> On my development machine (Built from CVS late Sunday, February 18), I
> get:

> test=# select count(id) from abc;
> ERROR: ExecEvalAggref: no aggregates in this expression context

Try make distclean, configure, make all. Someone else reported this
same symptom recently due to having inconsistent object files.

In general, anytime you do "cvs update", the safest approach is a make
distclean and full rebuild. If you have not enabled dependency tracking
then that's the *only* procedure that will work reliably. If you do
use --enable-depend then you may be able to get away with partial
rebuilds, but I don't trust that feature myself. I figure I can do an
awful lot of automatic rebuilds in the time it will cost me to track
down even one "bug" caused by inconsistent files.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2001-02-22 01:08:34 Re: SunOS4
Previous Message Tom Lane 2001-02-21 23:10:03 Re: low priority postmaster threads?