From: Tom Lane <tgl@sss.pgh.pa.us>
To: maxim.boguk@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7580: repeatable test case for the BUG #7579
Date: Wed, 03 Oct 2012 11:46:17 -0400
Message-ID: <6004.1349279177@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org>
References: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org>
maxim.boguk@gmail.com writes:
> create table t1 as select id from generate_series(1,100000) as g(id);
> create table t2 as select id from generate_series(1,100000) as g(id);
> alter table t1 add primary key (id);
> alter table t2 add primary key (id);
> analyze t1;
> analyze t2;
> explain select * from t1
> left outer join
> (
> select distinct t2.id from t2
> where t2.id>100
> ) as _t on _t.id=t1.id
> where
> (t1.id>100 or (t1.id<100 and _t.id IS NOT NULL));
> The connection to the server was lost.
Hm, I get an Assert trap in the planner, which means this is probably
my fault. Will look.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, maxim.boguk@gmail.com
Subject: Re: BUG #7580: repeatable test case for the BUG #7579
In-Reply-To: <6004.1349279177@sss.pgh.pa.us>
References: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org> <6004.1349279177@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox