RE: auto_explain: Include JIT output if applicable

2018-09-28 Thread Shinoda, Noriyoshi (PN Japan GCS Delivery)
2018 2:11 PM To: Shinoda, Noriyoshi (PN Japan GCS Delivery) Cc: Lukas Fittl ; Pg Hackers Subject: Re: auto_explain: Include JIT output if applicable Hi, On 2018-09-29 05:04:25 +, Shinoda, Noriyoshi (PN Japan GCS Delivery) wrote: > I tried this feature. > I think that 'if (es-

Re: auto_explain: Include JIT output if applicable

2018-09-28 Thread Andres Freund
Hi, On 2018-09-29 05:04:25 +, Shinoda, Noriyoshi (PN Japan GCS Delivery) wrote: > 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

RE: auto_explain: Include JIT output if applicable

2018-09-28 Thread Shinoda, Noriyoshi (PN Japan GCS Delivery)
Regards, Noriyoshi Shinoda From: Lukas Fittl [mailto:lu...@fittl.com] Sent: Tuesday, September 25, 2018 6:38 AM To: Andres Freund Cc: Pg Hackers Subject: Re: auto_explain: Include JIT output if applicable On Mon, Sep 24, 2018 at 1:48 PM, Andres Freund mailto:and...@anarazel.de>> wrote: Thank

Re: auto_explain: Include JIT output if applicable

2018-09-24 Thread Lukas Fittl
On Mon, Sep 24, 2018 at 1:48 PM, Andres Freund wrote: > > Thanks for noticing - pushed! > Thanks! Best, Lukas -- Lukas Fittl

Re: auto_explain: Include JIT output if applicable

2018-09-24 Thread Andres Freund
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. > > At