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

Commitc048cd9

Browse files
committed
Avoid JIT-related test instability in EXPLAIN ANALYZE
036bdce added some code to perform some verification on portions ofthe planner costs in EXPLAIN ANALYZE but failed to consider that somebuildfarm animals such as bushmaster and taipan are running very low jitthresholds. This caused these animals to fail as they were outputtingJIT-related details in EXPLAIN ANALYZE for the newly added tests.Here we avoid that by disabling JIT for the plans in question.Discussion:https://postgr.es/m/CAApHDvpxV4rrO3XUCgGS5N9Wg6f2r0ojJPD2tX2FRV-o9sRTJA@mail.gmail.com
1 parentc8d5d6c commitc048cd9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎src/test/regress/expected/misc_functions.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ BEGIN
1818
analyze_str := 'off';
1919
END IF;
2020

21+
-- avoid jit related output by disabling it
22+
SET LOCAL jit = 0;
23+
2124
FOR ln IN
2225
EXECUTE format('explain (analyze %s, costs on, summary off, timing off) %s',
2326
analyze_str, query)

‎src/test/regress/sql/misc_functions.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ BEGIN
2020
analyze_str :='off';
2121
END IF;
2222

23+
-- avoid jit related output by disabling it
24+
SET LOCAL jit=0;
25+
2326
FOR lnIN
2427
EXECUTE format('explain (analyze %s, costs on, summary off, timing off) %s',
2528
analyze_str, query)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp