| From: | "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su> | 
|---|---|
| To: | Jan Wieck <jwieck(at)debis(dot)com> | 
| Cc: | PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org> | 
| Subject: | Re: [HACKERS] Open 6.3 issues | 
| Date: | 1998-02-24 01:19:52 | 
| Message-ID: | 34F22038.64B6E830@sable.krasnoyarsk.su | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Jan Wieck wrote:
> 
> > Views on aggregates fail
> 
>     Uh oh - Aggregates require a group by clause in the select.
>     This is correctly copied into the query action in the views
>     pg_rewrite entry. But the rewrite handler doesn't insert it
>     into the parsetree. Thus a wrong execution plan in built.
> 
>     I'll try some things, but expect to get into trouble if the
>     select from the view contains it's own grouping clauses.
There is another way of VIEW implementation: put VIEW' query
as subselect into FROM clause. The last feature is not implemented
yet. It's just a thought...
Vadim
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vadim B. Mikheev | 1998-02-24 01:30:27 | Re: [HACKERS] Subselects and NOTs | 
| Previous Message | t-ishii | 1998-02-24 00:57:10 | Re: [HACKERS] Current 6.3 issues |