Skip site navigation (1) Skip section navigation (2)

Re: Optimizer Bug of Debug Version

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jackie Leng" <lengjianquan(at)163(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Optimizer Bug of Debug Version
Date: 2006-09-19 14:36:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Jackie Leng" <lengjianquan(at)163(dot)com> writes:
> 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.

Please update to 8.1.4.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Casey DuncanDate: 2006-09-19 16:27:13
Subject: Re: Out of memory error during large hashagg
Previous:From: Bharat ManmodeDate: 2006-09-19 10:23:52
Subject: Startup Error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group