Fix fuzzy thinking in ReinitializeParallelDSM().

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

Commit: bfb937427be2cfca78e3e076c30e37cddc350f8e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-06-16T19:20:29Z
Releases: 9.6.0
Fix fuzzy thinking in ReinitializeParallelDSM().

The fact that no workers were successfully launched in the previous
iteration does not excuse us from setting up properly to try again.
This appears to explain crashes I saw in parallel regression testing
due to error_mqh being NULL when it shouldn't be.

Minor other cosmetic fixes too.

Files

PathChange+/−
src/backend/access/transam/parallel.c modified +11 −11