Re: auto_explain: Include JIT output if applicable - Mailing list pgsql-hackers

From Andres Freund
Subject Re: auto_explain: Include JIT output if applicable
Date
Msg-id 20180924204800.dp3uto5fxch2xyfo@alap3.anarazel.de
Whole thread Raw
In response to auto_explain: Include JIT output if applicable  (Lukas Fittl <lukas@fittl.com>)
Responses Re: auto_explain: Include JIT output if applicable  (Lukas Fittl <lukas@fittl.com>)
List 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


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Collation versioning
Next
From: Sergei Kornilov
Date:
Subject: Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru