/* don't print information if no JITing happened */
        if (!ji || ji->created_functions == 0)
                return;

This applies even when (es->format != EXPLAIN_FORMAT_TEXT), which I think is
wrong.  Jit use can be determined by cost, so I think jit details should be
shown in non-text format whenever ji!=NULL, even if it's zeros.  Arguably, bits
could be omitted if jit_expressions=off or jit_tuple_deforming=off, but I don't
see the point.

-- 
Justin


Reply via email to