Re: [HACKERS] Open 6.3 issues
Vadim Mikheev <vadim@sable.krasnoyarsk.su>
From: "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
To: Jan Wieck <jwieck@debis.com>
Cc: PostgreSQL HACKERS <pgsql-hackers@postgreSQL.org>
Date: 1998-02-24T01:19:52Z
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