Hi,

I tried this feature.
I think that 'if (es->costs)' of the source code auto_explain.c will always be 
‘true’.

Because it is not changed after 'es-> cost = true' in NewExplainState () 
function several rows ago.
So I attached a patch to delete this if statement.

Regards,
Noriyoshi Shinoda

From: Lukas Fittl [mailto:[email protected]]
Sent: Tuesday, September 25, 2018 6:38 AM
To: Andres Freund <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: auto_explain: Include JIT output if applicable

On Mon, Sep 24, 2018 at 1:48 PM, Andres Freund 
<[email protected]<mailto:[email protected]>> wrote:
Thanks for noticing - pushed!

Thanks!

Best,
Lukas

--
Lukas Fittl

Attachment: auto_explain.diff
Description: auto_explain.diff

Reply via email to