Re: [HACKERS] having bug report

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "[Jos_] Soares" <jose(at)sferacarta(dot)com>, hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] having bug report
Date: 1999-11-30 02:15:22
Message-ID: 18826.943928122@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Any comments on that status of this one?

Those particular cases are fixed, I think, but there are still severe
problems with VIEWs that use grouping or aggregates. I doubt we can
improve the VIEW situation much more without subselects-in-FROM.

regards, tom lane

>> * subqueries containing HAVING return incorrect results
>>
>> select istat from comuni where istat in (
>> select istat from comuni group by istat having count(istat) > 1
>> );
>> ERROR: rewrite: aggregate column of view must be at rigth side in qual
>>
>> select istat from comuni where istat in (
>> select istat from comuni group by istat having 1 < count(istat)
>> );
>> ERROR: pull_var_clause: Cannot handle node type 108

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-11-30 02:20:36 Re: [PORTS] Re: [HACKERS] RedHat6.0 & Alpha
Previous Message Bruce Momjian 1999-11-30 02:13:23 Re: [HACKERS] Bizarre coding in _bt_binsrch