pgsql: Fix fuzzy thinking in ReinitializeParallelDSM().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix fuzzy thinking in ReinitializeParallelDSM().
Date: 2016-06-16 19:20:34
Message-ID: E1bDcqA-0001Ke-Rf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Vik Fearing 2016-06-16 20:51:33 Re: pgsql: Update pg_stat_statements extension for parallel query.
Previous Message Andres Freund 2016-06-16 19:01:34 Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <