Received: from mail.opentec.com.au ([203.5.51.3]) by hub.org (8.10.1/8.10.1) with ESMTP id e650S5S69773 for ; Tue, 4 Jul 2000 20:28:06 -0400 (EDT) Received: from opentec.com.au (ochre) by mail.opentec.com.au (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with ESMTP id <0FX700602878VC@mail.opentec.com.au> for pgsql-sql@hub.org; Wed, 5 Jul 2000 10:33:08 +1000 (EST) Date: Wed, 05 Jul 2000 10:37:32 +1000 From: Paul McGarry Subject: ERROR: ExecEvalAggref: no aggregates in this expression context To: pgsql-sql@hub.org Message-id: <3962834C.5EF48AB7@opentec.com.au> MIME-version: 1.0 X-Mailer: Mozilla 4.61 [en] (Win98; I) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <200007042201.e64M1GS36467@hub.org> X-Archive-Number: 200007/44 Hello, Can someone tell me what this error message means: ========== ERROR: ExecEvalAggref: no aggregates in this expression context ========== Does it mean that there aren't any aggregate in the expression context when there should be. Does it mean there are and there shouldn't be? For that matter, what are aggregates and in what expression context should they be or not be in? Could it be because I am trying to group around something like entry_view.minprice, entry_view.maxprice where minprice and maxprice are defined in as min (item.item_price) as minprice, max (item.item_price) as maxprice when the entry_view view is defined? Thanks -- Paul McGarry mailto:paulm@opentec.com.au Systems Integrator http://www.opentec.com.au Opentec Pty Ltd http://www.iebusiness.com.au 6 Lyon Park Road Phone: (02) 9878 1744 North Ryde NSW 2113 Fax: (02) 9878 1755