Re: swap relations to be able to execute a left join

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Jaime Casanova <systemguards(at)gmail(dot)com>, David Rio Deiros <driodeiros(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, is04607(at)salleurl(dot)edu
Subject: Re: swap relations to be able to execute a left join
Date: 2005-12-09 19:17:59
Message-ID: 557.1134155879@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr <mike(at)fuhr(dot)org> writes:
> On Fri, Dec 09, 2005 at 12:47:19PM -0500, Tom Lane wrote:
>> Your coworker is depending on a flat-out-incorrect behavior of MySQL.

> Hmm...I get errors in MySQL 5.0.16 with the query as posted so I
> have to wonder what the real query was.

(tries it...) After removing the bogus comma, MySQL 4.1.14 swallows
the query without complaint, so it would seem that MySQL finally fixed
this bug at 5.0. I wonder what the OP's coworker will say when he tries
to migrate his code to 5.0 ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-12-09 19:29:02 Re: swap relations to be able to execute a left join
Previous Message Michael Fuhr 2005-12-09 18:58:05 Re: swap relations to be able to execute a left join