Re: BUG #7580: repeatable test case for the BUG #7579 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7580: repeatable test case for the BUG #7579
Date
Msg-id 6004.1349279177@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7580: repeatable test case for the BUG #7579  (maxim.boguk@gmail.com)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: William Dauchy
Date:
Subject: Re: BUG #7581: changing blocksize makes tests fail
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #7578: Not able to drop user if S/he has permission on tablespace