| From: | Paul McGarry <paulm(at)opentec(dot)com(dot)au> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-sql(at)hub(dot)org |
| Subject: | Re: ERROR: ExecEvalAggref: no aggregates in thisexpressioncontext |
| Date: | 2000-07-06 05:19:51 |
| Message-ID: | 396416F7.F5603074@opentec.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Tom Lane wrote:
> 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.
Yes, I've just discovered the Todo list :) Oh well, it probably
needed rethinking anyway.....I want fast retrieval over fast
update so I probably want to do my min() and max() magic with
triggers on insert/update/delete rather than on each select
with the view.
In any case I have attached some SQL which sets up tables and
generates the ExecEvalAggref I was getting in case it is of
any use to anyone.
Cheers.
--
Paul McGarry mailto:paulm(at)opentec(dot)com(dot)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
| Attachment | Content-Type | Size |
|---|---|---|
| execeval.sql | application/x-unknown-content-type-sql_auto_file | 1.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jan Wieck | 2000-07-06 08:47:24 | Re: lztext and compression ratios... |
| Previous Message | Tom Lane | 2000-07-06 04:44:24 | Re: ERROR: ExecEvalAggref: no aggregates in this expressioncontext |