aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-06-17 09:24:29 -0400
committerRobert Haas <rhaas@postgresql.org>2016-06-17 09:26:17 -0400
commit292794f82b4ebde33ec7f2a572ddd1dedba8ce37 (patch)
treeba36ce1d6f4c2bef19e859c643156cd8902262b2 /src/backend/access/transam/parallel.c
parent103512cee95b5bd0feb83c225eeff61c58874413 (diff)
downloadpostgresql-292794f82b4ebde33ec7f2a572ddd1dedba8ce37.tar.gz
postgresql-292794f82b4ebde33ec7f2a572ddd1dedba8ce37.zip
Remove PID from 'parallel worker' context message.
Discussion: <bfd204ab-ab1a-792a-b345-0274a09a4b5f@2ndquadrant.com>
Diffstat (limited to 'src/backend/access/transam/parallel.c')
-rw-r--r--src/backend/access/transam/parallel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/parallel.c b/src/backend/access/transam/parallel.c
index 9325b628da3..088700e17cb 100644
--- a/src/backend/access/transam/parallel.c
+++ b/src/backend/access/transam/parallel.c
@@ -788,7 +788,7 @@ HandleParallelMessage(ParallelContext *pcxt, int i, StringInfo msg)
*/
save_error_context_stack = error_context_stack;
errctx.callback = ParallelErrorContext;
- errctx.arg = &pcxt->worker[i].pid;
+ errctx.arg = NULL;
errctx.previous = pcxt->error_context_stack;
error_context_stack = &errctx;
@@ -1095,7 +1095,7 @@ static void
ParallelErrorContext(void *arg)
{
if (force_parallel_mode != FORCE_PARALLEL_REGRESS)
- errcontext("parallel worker, PID %d", *(int32 *) arg);
+ errcontext("parallel worker");
}
/*