Re: [HACKERS] having bug report - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] having bug report
Date
Msg-id 199911292227.RAA15325@candle.pha.pa.us
Whole thread Raw
In response to having bug report  (José Soares <jose@sferacarta.com>)
Responses Re: [HACKERS] having bug report  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Any comments on that status of this one?

> * 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
> 
> ______________________________________________________________
> PostgreSQL 6.5.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.3
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Jose'
> 
> 
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Re: [HACKERS] new patches
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Update of bitmask type