Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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/

In response to

Responses

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group