Force track_io_timing off in explain.sql to avoid failures when enabled.

Discussion: https://postgr.es/m/20201029231037.rkxo57ugnuchykpu@alap3.anarazel.de
This commit is contained in:
Andres Freund 2022-03-12 14:21:40 -08:00
parent 02fea8fdda
commit 7e12256b47
2 changed files with 10 additions and 4 deletions

View file

@ -47,9 +47,12 @@ begin
return data::jsonb;
end;
$$;
-- Also, disable JIT, or we'll get different output on machines
-- where that's been forced on
-- Disable JIT, or we'll get different output on machines where that's been
-- forced on
set jit = off;
-- Similarly, disable track_io_timing, to avoid output differences when
-- enabled.
set track_io_timing = off;
-- Simple cases
select explain_filter('explain select * from int8_tbl i8');
explain_filter

View file

@ -51,10 +51,13 @@ begin
end;
$$;
-- Also, disable JIT, or we'll get different output on machines
-- where that's been forced on
-- Disable JIT, or we'll get different output on machines where that's been
-- forced on
set jit = off;
-- Similarly, disable track_io_timing, to avoid output differences when
-- enabled.
set track_io_timing = off;
-- Simple cases