Re: BUG #4934: regression in IN with joins in subselect

From: Benjamin Reed <ranger(at)opennms(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4934: regression in IN with joins in subselect
Date: 2009-07-22 21:31:56
Message-ID: 4A67854C.60605@opennms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 7/22/09 4:39 PM, Tom Lane wrote:
> "Benjamin Reed" <ranger(at)opennms(dot)org> writes:
>> I've hit a regression vs. PostgreSQL 8.2 and 8.3 (and probably others)
>> related to subselects. This query:
>
> It's not going to be possible to examine this with just the query.
> You need to provide a self-contained test case.

Attached is a test case, including the query that causes the error at
the end. On 8.3, it returns 1 row (192.168.1.1), on 8.4 including the
git 8.4 branch, it returns none.

--
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

Attachment Content-Type Size
testcase.pgsql text/plain 5.4 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-07-23 00:34:47 Re: BUG #4934: regression in IN with joins in subselect
Previous Message Tom Lane 2009-07-22 20:39:41 Re: BUG #4934: regression in IN with joins in subselect