pgsql: Fix issues around EXPLAIN with JIT.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Fix issues around EXPLAIN with JIT.
Дата
Msg-id E1g7nGD-0000JL-OC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rationalize snprintf.c's handling of "ll" formats.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Change executor to just Assert that table locks were alreadyobt