Commit d611517f authored by Andres Freund's avatar Andres Freund

Fix parallel bitmapscan tests on builds without USE_PREFETCH.

This was broken in 5a593153.
parent 7e534adc
...@@ -175,7 +175,12 @@ set enable_indexscan to off; ...@@ -175,7 +175,12 @@ set enable_indexscan to off;
set enable_hashjoin to off; set enable_hashjoin to off;
set enable_mergejoin to off; set enable_mergejoin to off;
set enable_material to off; set enable_material to off;
set effective_io_concurrency=50; -- test prefetching, if the platform allows it
DO $$
BEGIN
SET effective_io_concurrency = 50;
EXCEPTION WHEN invalid_parameter_value THEN
END $$;
set work_mem='64kB'; --set small work mem to force lossy pages set work_mem='64kB'; --set small work mem to force lossy pages
explain (costs off) explain (costs off)
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0; select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;
......
...@@ -70,7 +70,12 @@ set enable_indexscan to off; ...@@ -70,7 +70,12 @@ set enable_indexscan to off;
set enable_hashjoin to off; set enable_hashjoin to off;
set enable_mergejoin to off; set enable_mergejoin to off;
set enable_material to off; set enable_material to off;
set effective_io_concurrency=50; -- test prefetching, if the platform allows it
DO $$
BEGIN
SET effective_io_concurrency = 50;
EXCEPTION WHEN invalid_parameter_value THEN
END $$;
set work_mem='64kB'; --set small work mem to force lossy pages set work_mem='64kB'; --set small work mem to force lossy pages
explain (costs off) explain (costs off)
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0; select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment