AW: Re: Query 'Bout A Bug. - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: Re: Query 'Bout A Bug.
Date
Msg-id 11C1E6749A55D411A9670001FA687963368009@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> > The bug list includes the following:
> >  
> > a.. SELECT foo UNION SELECT foo is incorrectly simplified 
> to SELECT foo 
> > 
> > Wy is this simplification incorrect? I don't get it.
> 
> Not sure.  Maybe someone can comment. 

It can only be simplified to:SELECT DISTINCT * from foo

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some Improvement
Next
From: Tom Lane
Date:
Subject: Re: lztext and compression ratios...