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.
"Jackie Leng" <lengjianquan@163.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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера