From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix issues around EXPLAIN with JIT.
Date: Wed, 03 Oct 2018 19:56:41 +0000
Message-ID: <E1g7nGD-0000JL-OC@gemulon.postgresql.org> (raw)
Fix issues around EXPLAIN with JIT.
I (Andres) was more than a bit hasty in committing 33001fd7a7072d48327
after last minute changes, leading to a number of problems (jit output
was only shown for JIT in parallel workers, and just EXPLAIN without
ANALYZE didn't work). Lukas luckily found these issues quickly.
Instead of combining instrumentation in in standard_ExecutorEnd(), do
so on demand in the new ExplainPrintJITSummary().
Also update a documentation example of the JIT output, changed in
52050ad8ebec8d831.
Author: Lukas Fittl, with minor changes by me
Discussion: https://postgr.es/m/CAP53PkxmgJht69pabxBXJBM+0oc6kf3KHMborLP7H2ouJ0CCtQ@mail.gmail.com
Backpatch: 11, where JIT compilation was introduced
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c03c1449c0925637d382bd16197796e6c5cab31d
Modified Files
--------------
contrib/auto_explain/auto_explain.c | 3 +--
doc/src/sgml/jit.sgml | 8 ++------
src/backend/commands/explain.c | 29 +++++++++++++++++++++++++++--
src/backend/executor/execMain.c | 15 ---------------
src/backend/executor/execParallel.c | 9 ++++-----
src/include/commands/explain.h | 1 +
src/include/nodes/execnodes.h | 8 ++++----
7 files changed, 39 insertions(+), 34 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Fix issues around EXPLAIN with JIT.
In-Reply-To: <E1g7nGD-0000JL-OC@gemulon.postgresql.org>
References: <E1g7nGD-0000JL-OC@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox