Re: BUG #4936: Bad result for SQL query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mathieu Dupuis" <mdupuis(at)premieresloges(dot)ca>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4936: Bad result for SQL query
Date: 2009-07-23 16:22:22
Message-ID: 18160.1248366142@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Mathieu Dupuis" <mdupuis(at)premieresloges(dot)ca> writes:
> Here are the result of the simplest query that recreate the problem, as you
> can see the p.id and sod.performance_id are the same because I join on those
> fields but if I compare with one, I have a different result that if I
> compare the other.

These queries are pretty much entirely useless without the table
definitions and sample data.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-07-23 17:43:40 Re: BUG #4934: regression in IN with joins in subselect
Previous Message Mathieu Dupuis 2009-07-23 15:45:01 BUG #4936: Bad result for SQL query