Обсуждение: [COMMITTERS] pgsql: Pass the source text for a parallel query to the workers.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Pass the source text for a parallel query to the workers.

От
Robert Haas
Дата:
Pass the source text for a parallel query to the workers.

With this change, you can see the query that a parallel worker is
executing in pg_stat_activity, and if the worker crashes you can
see what query it was executing when it crashed.

Rafia Sabih, reviewed by Kuntal Ghosh and Amit Kapila and slightly
revised by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4c728f382970b6346142fe4409212063ee3e92dc

Modified Files
--------------
src/backend/executor/execMain.c     |  2 ++
src/backend/executor/execParallel.c | 26 +++++++++++++++++++++++++-
src/backend/executor/execUtils.c    |  1 +
src/include/nodes/execnodes.h       |  1 +
4 files changed, 29 insertions(+), 1 deletion(-)