Thread: pgsql: Fix fuzzy thinking in ReinitializeParallelDSM().

pgsql: Fix fuzzy thinking in ReinitializeParallelDSM().

From
Tom Lane
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bfb937427be2cfca78e3e076c30e37cddc350f8e

Modified Files
--------------
src/backend/access/transam/parallel.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)