Re: pg_restore crash when there is a failure before all child process is created

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: ahsan hadi <ahsan.hadi@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org, vignesh C <vignesh21@gmail.com>
Date: 2020-01-31T19:45:14Z
Lists: pgsql-hackers
ahsan hadi <ahsan.hadi@gmail.com> writes:
> I have applied tested both patches separately and ran regression with both. No new test cases are failing with both patches.
> The issues is fixed by both patches however the fix from Tom (0001-fix-worker-status.patch) looks more elegant. I haven't done a detailed code review.

Pushed, thanks for looking!

			regards, tom lane



Commits

  1. Fix parallel pg_dump/pg_restore for failure to create worker processes.