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

From Robert Haas
Subject [COMMITTERS] pgsql: Pass the source text for a parallel query to the workers.
Date
Msg-id E1cgQpW-0003ow-C1@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Fix incorrect typecast.
Next
From: Andrew Dunstan
Date:
Subject: [COMMITTERS] pgsql: Correctly handle array pseudotypes in to_json and to_jsonb