jit and explain nontext

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Andres Freund <andres(at)anarazel(dot)de>, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: jit and explain nontext
Date: 2020-10-14 19:39:00
Message-ID: 20201014193859.GS9241@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

/* 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-10-14 19:40:31 Re: kevent latch paths don't handle postmaster death well
Previous Message Thomas Munro 2020-10-14 19:36:37 Re: kevent latch paths don't handle postmaster death well