Re: auto_explain: Include JIT output if applicable

From: Andres Freund <andres(at)anarazel(dot)de>
To: Lukas Fittl <lukas(at)fittl(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: auto_explain: Include JIT output if applicable
Date: 2018-09-24 20:48:00
Message-ID: 20180924204800.dp3uto5fxch2xyfo@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2018-09-24 11:34:38 -0700, Lukas Fittl wrote:
> Hi,
>
> Whilst playing around with auto_explain and JIT today, I realized that
> auto_explain currently doesn't output JIT information, which is rather
> unfortunate when analyzing a larger set of queries in a semi-automated
> manner.
>
> Attached a trivial patch that fixes the issue and adds JIT information to
> auto_explain with the same logic as used for regular EXPLAIN.

Thanks for noticing - pushed!

It's pretty annoying that so much of this code is duplicated in
auto_explain. It'd be good if we refactored explain.c so that there's
less duplication. But that seems like it'd not be v11 work, so...

- Andres

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2018-09-24 20:55:41 Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru
Previous Message Thomas Munro 2018-09-24 20:47:11 Re: Collation versioning