Skip to content

Commit d611517

Browse files
committed
Fix parallel bitmapscan tests on builds without USE_PREFETCH.
This was broken in 5a59315.
1 parent 7e534ad commit d611517

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/test/regress/expected/select_parallel.out

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@ set enable_indexscan to off;
175175
set enable_hashjoin to off;
176176
set enable_mergejoin to off;
177177
set enable_material to off;
178-
set effective_io_concurrency=50;
178+
-- test prefetching, if the platform allows it
179+
DO $$
180+
BEGIN
181+
SET effective_io_concurrency = 50;
182+
EXCEPTION WHEN invalid_parameter_value THEN
183+
END $$;
179184
set work_mem='64kB'; --set small work mem to force lossy pages
180185
explain (costs off)
181186
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;

src/test/regress/sql/select_parallel.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ set enable_indexscan to off;
7070
set enable_hashjoin to off;
7171
set enable_mergejoin to off;
7272
set enable_material to off;
73-
set effective_io_concurrency=50;
73+
-- test prefetching, if the platform allows it
74+
DO $$
75+
BEGIN
76+
SET effective_io_concurrency = 50;
77+
EXCEPTION WHEN invalid_parameter_value THEN
78+
END $$;
7479
set work_mem='64kB'; --set small work mem to force lossy pages
7580
explain (costs off)
7681
select count(*) from tenk1, tenk2 where tenk1.hundred > 1 and tenk2.thousand=0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy