]> granicus.if.org Git - postgresql/commit
Fix fuzzy thinking in ReinitializeParallelDSM().
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jun 2016 19:20:29 +0000 (15:20 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jun 2016 19:20:29 +0000 (15:20 -0400)
commitbfb937427be2cfca78e3e076c30e37cddc350f8e
tree8d1625b19c9c251d5004e9962b222f37761973a8
parent75be66464cb1bffa1e5757907b9a04ad5afc7859
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.
src/backend/access/transam/parallel.c