diff --git a/src/backend/access/transam/parallel.c b/src/backend/access/transam/parallel.c index 8920134..886f03c 100644 --- a/src/backend/access/transam/parallel.c +++ b/src/backend/access/transam/parallel.c @@ -1236,6 +1236,8 @@ ParallelWorkerMain(Datum main_arg) pq_set_parallel_master(fps->parallel_master_pid, fps->parallel_master_backend_id); + proc_exit(1); + /* * Send a BackendKeyData message to the process that initiated parallelism * so that it has access to our PID before it receives any other messages