Optimizer Bug of Debug Version - Mailing list pgsql-bugs

From Jackie Leng
Subject Optimizer Bug of Debug Version
Date
Msg-id eeoafi$141m$1@news.hub.org
Whole thread Raw
Responses Re: Optimizer Bug of Debug Version
List 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.

pgsql-bugs by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Out of memory error during large hashagg
Next
From: "Kiren Pillay"
Date:
Subject: BUG #2636: JDBC error behaviour incorrect