Re: Is this still true? - Mailing list pgsql-general

From Mike Mascari
Subject Re: Is this still true?
Date
Msg-id 39541996.434E34F4@mascari.com
Whole thread Raw
In response to Re: Is this still true?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Is this still true?
List 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

Mike Mascari

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Is this still true?
Next
From: Bruce Momjian
Date:
Subject: Re: Is this still true?