diff --git a/src/backend/access/transam/parallel.c b/src/backend/access/transam/parallel.c index 8920134..138c926 100644 --- a/src/backend/access/transam/parallel.c +++ b/src/backend/access/transam/parallel.c @@ -1221,6 +1221,8 @@ ParallelWorkerMain(Datum main_arg) ParallelMasterBackendId = fps->parallel_master_backend_id; on_shmem_exit(ParallelWorkerShutdown, (Datum) 0); + proc_exit(1); + /* * Now we can find and attach to the error queue provided for us. That's * good, because until we do that, any errors that happen here will not be