pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix issues around EXPLAIN with JIT.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix issues around EXPLAIN with JIT.
@ 2018-10-03 19:56 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2018-10-03 19:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix issues around EXPLAIN with JIT.
@ 2018-10-03 20:11 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2018-10-03 20:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e97c4d967ba500c7ec427a56467440f036127158

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-10-03 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 19:56 pgsql: Fix issues around EXPLAIN with JIT. Andres Freund <andres@anarazel.de>
2018-10-03 20:11 pgsql: Fix issues around EXPLAIN with JIT. Andres Freund <andres@anarazel.de>

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