From 292794f82b4ebde33ec7f2a572ddd1dedba8ce37 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 17 Jun 2016 09:24:29 -0400 Subject: Remove PID from 'parallel worker' context message. Discussion: --- src/backend/access/transam/parallel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/access/transam/parallel.c') 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"); } /* -- cgit v1.2.3