From: | "Shinoda, Noriyoshi (PN Japan GCS Delivery)" <noriyoshi(dot)shinoda(at)hpe(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Lukas Fittl <lukas(at)fittl(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | RE: auto_explain: Include JIT output if applicable |
Date: | 2018-09-29 05:15:16 |
Message-ID: | TU4PR8401MB04307760252BE149C7A5F33EEEED0@TU4PR8401MB0430.NAMPRD84.PROD.OUTLOOK.COM |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
> I think it's better to stay closer to what explain.c itself is doing - it's not like that if statement costs us anything really...
Oh, I understood.
Thank you.
-----Original Message-----
From: Andres Freund [mailto:andres(at)anarazel(dot)de]
Sent: Saturday, September 29, 2018 2:11 PM
To: Shinoda, Noriyoshi (PN Japan GCS Delivery) <noriyoshi(dot)shinoda(at)hpe(dot)com>
Cc: Lukas Fittl <lukas(at)fittl(dot)com>; Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: auto_explain: Include JIT output if applicable
Hi,
On 2018-09-29 05:04:25 +0000, 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 rows ago.
> So I attached a patch to delete this if statement.
I think it's better to stay closer to what explain.c itself is doing - it's not like that if statement costs us anything really...
- Andres
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2018-09-29 05:36:00 | Re: Odd 9.4, 9.3 buildfarm failure on s390x |
Previous Message | Andres Freund | 2018-09-29 05:11:11 | Re: auto_explain: Include JIT output if applicable |