pgsql: Fix fuzzy thinking in ReinitializeParallelDSM(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix fuzzy thinking in ReinitializeParallelDSM().
Date
Msg-id E1bDcqA-0001Ke-Rf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <
Next
From: Vik Fearing
Date:
Subject: Re: pgsql: Update pg_stat_statements extension for parallel query.