Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd611517

Browse files
committed
Fix parallel bitmapscan tests on builds without USE_PREFETCH.
This was broken in5a59315.
1 parent7e534ad commitd611517

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
selectcount(*)from tenk1, tenk2wheretenk1.hundred>1andtenk2.thousand=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp