aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
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");
}
/*