From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Mike Mascari <mascarm(at)mascari(dot)com> |
Cc: | Joseph Shraibman <jks(at)selectacast(dot)net>, "pgsql-general(at)hub(dot)org" <pgsql-general(at)hub(dot)org> |
Subject: | Re: Is this still true? |
Date: | 2000-06-24 02:48:53 |
Message-ID: | 200006240248.WAA27202@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Bruce Momjian wrote:
> >
> > > http://www.postgresql.org/docs/faq-english.html#4.23 Is this a leftover
> > > from previous versions of postgres or is this still true for 7.0?
> > >
> >
> > Still true in 7.0.
>
> Gee. Shouldn't 4.24 use the advice above in 4.23?
>
> I.E., shouldn't it read:
>
> SELECT tab1.col1, tab2.col2
> FROM tab1, tab2
> WHERE tab1.col1 = tab2.col1
> UNION ALL
> SELECT tab1.col1, NULL
> FROM tab1
> WHERE tab1.col1 NOT EXISTS
> (SELECT tab2.col1 FROM tab2 WHERE tab1.col1 = tab2.col1)
> ORDER BY tab1.col1
Yes, but it seems too confusing to mix them. We really need both those
features added to PostgreSQL.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-06-24 11:56:02 | Re: boolean isn't boolean? |
Previous Message | Mike Mascari | 2000-06-24 02:14:46 | Re: Is this still true? |