AW: Re: Query 'Bout A Bug.

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, David Lloyd-Jones <david(dot)lloyd-jones(at)attcanada(dot)ca>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: AW: Re: Query 'Bout A Bug.
Date: 2000-07-13 07:07:59
Message-ID: 11C1E6749A55D411A9670001FA687963368009@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-07-13 07:11:30 AW: Some Improvement
Previous Message Tom Lane 2000-07-13 07:07:57 Re: lztext and compression ratios...