Re: [HACKERS] views and group by (formerly: create view as selec - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] views and group by (formerly: create view as selec
Date
Msg-id 7998.926357502@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] views and group by (formerly: create view as selec  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] views and group by (formerly: create view as selec
List pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> I now get.  I am sure it instills confidence in our users:
>     ERROR:  union_planner: query is marked hasAggs, but I don't see any

Yes :-(.  I've been waiting for Jan to respond to the issue --- I think
this is a rewriter problem, so I wanted to know whether he could do
anything with it.  (See my message "GROUP BY fixes committed" dated
02 May 1999 20:54:30 -0400.)

It'd be possible to work around this problem inside the planner, by not
believing what the rewriter says about either resnos or hasAggs, but
that seems like a kluge rather than a fix.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] It would be nice if this could be fixed...
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] problems with parser