On 2020-11-20 17:16, Justin Pryzby wrote:
> It matters if it was planned with jit but executed without jit.
>
> postgres=# DEALLOCATE p; SET jit=on; SET jit_above_cost=0; prepare p as select from generate_series(1,9);
explain(formatyaml) execute p; SET jit=off; explain(format yaml) execute p;
>
> Patched shows this for both explains:
> JIT: +
> Functions: 3 +
>
> Unpatched shows only in the first case.
In this context, I don't see the point of this change. If you set
jit=off explicitly, then there is no need to clutter the EXPLAIN output
with a bunch of zeroes about JIT.