pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maxim.boguk@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7580: repeatable test case for the BUG #7579
Date: Wed, 03 Oct 2012 10:32:19 +0000
Message-ID: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7580
Logged by:          Maxim Boguk
Email address:      maxim.boguk@gmail.com
PostgreSQL version: 9.2.1
Operating system:   Linux
Description:        


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.





view thread (2+ messages)  latest in thread

Message-ID: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org>
Permalink:  ../E1TJMFX-0002Cd-7K@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TJMFX-0002Cd-7K@wrigleys.postgresql.org

 · 

reply

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: maxim.boguk@gmail.com
  Subject: Re: BUG #7580: repeatable test case for the BUG #7579
  In-Reply-To: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org>
  References: <E1TJMFX-0002Cd-7K@wrigleys.postgresql.org>

* 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