Optimizer Bug of Debug Version

From: "Jackie Leng" <lengjianquan(at)163(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Optimizer Bug of Debug Version
Date: 2006-09-19 08:38:03
Message-ID: eeoafi$141m$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


In 8.1, if we execute the following queries on an debug version:

create table t(a int,b int);
create index ttt on t(a,b);
explain select * from t t1,t t2 where (t1.a=1 and t2.b in (1,2)) or (t1.a=2
and t2.b in (3,4));

The server will halt in function "generate_bitmap_or_paths".Seems that
"create_or_index_quals" produces OR-of-OR quals, which is not allowed in
this phase.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Simon Riggs 2006-09-19 08:51:41 Re: Out of memory error during large hashagg
Previous Message Peter Eisentraut 2006-09-18 21:41:26 Re: BUG #2632: createuser language poblem