From: Robert Haas Date: Wed, 26 Mar 2025 19:43:25 +0000 (-0400) Subject: pg_overexplain: SET jit=off when running tests. X-Git-Tag: REL_18_BETA1~426 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=47a1f076a7c9789134a29dc738db0152e5f71b4c;p=postgresql.git pg_overexplain: SET jit=off when running tests. Per buildfarm. --- 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;