1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Remove PID from 'parallel worker' context message.

Discussion: <bfd204ab-ab1a-792a-b345-0274a09a4b5f@2ndquadrant.com>
This commit is contained in:
Robert Haas
2016-06-17 09:24:29 -04:00
parent 103512cee9
commit 292794f82b
3 changed files with 6 additions and 6 deletions

View File

@ -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");
}
/*