pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul McGarry <paulm@opentec.com.au>
Cc: pgsql-sql@hub.org
Subject: Re: ERROR: ExecEvalAggref: no aggregates in this expressioncontext
Date: Thu, 06 Jul 2000 00:44:24 -0400
Message-ID: <20348.962858664@sss.pgh.pa.us> (raw)
In-Reply-To: <3963DA0C.B248C79D@opentec.com.au>
References: <200007042201.e64M1GS36467@hub.org>
	<3962834C.5EF48AB7@opentec.com.au>
	<3397.962817322@sss.pgh.pa.us>
	<3963DA0C.B248C79D@opentec.com.au>

Paul McGarry <paulm@opentec.com.au> writes:
>> Yup.  ExecEvalAggref is supposed to fetch the result of a (previously
>> computed) aggregate function.  It's unhappy because it's not finding
>> anything to return.  This is a bug --- can we see a complete example
>> that causes it?

> The view that I am experiencing this error on is rather nasty, so
> much so that I am going to solve the problem it was supposed to
> solve in another way.

View?  Hmm, we know that views involving GROUP BY or aggregates
don't work very well.  We hope to fix those problems in 7.2, but
right now there's probably not much that can be done about it.
I'd recommend avoiding views that use those features for now.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <20348.962858664@sss.pgh.pa.us>
Permalink:  ../20348.962858664@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20348.962858664@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paulm@opentec.com.au, pgsql-sql@hub.org
  Subject: Re: ERROR: ExecEvalAggref: no aggregates in this expressioncontext
  In-Reply-To: <20348.962858664@sss.pgh.pa.us>
  References: <200007042201.e64M1GS36467@hub.org> <3962834C.5EF48AB7@opentec.com.au> <3397.962817322@sss.pgh.pa.us> <3963DA0C.B248C79D@opentec.com.au> <20348.962858664@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox