From 47a1f076a7c9789134a29dc738db0152e5f71b4c Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 26 Mar 2025 15:43:25 -0400 Subject: [PATCH] pg_overexplain: SET jit=off when running tests. Per buildfarm. --- contrib/pg_overexplain/expected/pg_overexplain.out | 3 +++ contrib/pg_overexplain/sql/pg_overexplain.sql | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/contrib/pg_overexplain/expected/pg_overexplain.out b/contrib/pg_overexplain/expected/pg_overexplain.out index f179473d910..a1f9411175e 100644 --- a/contrib/pg_overexplain/expected/pg_overexplain.out +++ b/contrib/pg_overexplain/expected/pg_overexplain.out @@ -1,6 +1,9 @@ -- These tests display internal details that would not be stable under -- debug_parallel_query, so make sure that option is disabled. SET debug_parallel_query = off; +-- Make sure that we don't print any JIT-related information, as that +-- would also make results unstable. +SET jit = off; -- These options do not exist, so these queries should all fail. EXPLAIN (DEBUFF) SELECT 1; ERROR: unrecognized EXPLAIN option "debuff" diff --git a/contrib/pg_overexplain/sql/pg_overexplain.sql b/contrib/pg_overexplain/sql/pg_overexplain.sql index a9634e443a0..e715d337d01 100644 --- a/contrib/pg_overexplain/sql/pg_overexplain.sql +++ b/contrib/pg_overexplain/sql/pg_overexplain.sql @@ -2,6 +2,10 @@ -- debug_parallel_query, so make sure that option is disabled. SET debug_parallel_query = off; +-- Make sure that we don't print any JIT-related information, as that +-- would also make results unstable. +SET jit = off; + -- These options do not exist, so these queries should all fail. EXPLAIN (DEBUFF) SELECT 1; EXPLAIN (DEBUG) SELECT 1; -- 2.39.5