summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2025-03-26 19:43:25 +0000
committerRobert Haas2025-03-26 19:43:25 +0000
commit47a1f076a7c9789134a29dc738db0152e5f71b4c (patch)
treef494a7d4a5aa68885e45272a815b0f917d74d9f5
parentde65c4dade0a36026f3d0745dc8134186dab49cf (diff)
pg_overexplain: SET jit=off when running tests.
Per buildfarm.
-rw-r--r--contrib/pg_overexplain/expected/pg_overexplain.out3
-rw-r--r--contrib/pg_overexplain/sql/pg_overexplain.sql4
2 files changed, 7 insertions, 0 deletions
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;