pgsql: Don't dump core when destroying an unused ParallelContext. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Don't dump core when destroying an unused ParallelContext.
Date
Msg-id E1ZhQ6f-0001Wt-4g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't dump core when destroying an unused ParallelContext.

If a transaction or subtransaction creates a ParallelContext but ends
without calling InitializeParallelDSM, the previous code would
seg fault.  Fix that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/227d57f3587d7d2a7d0792011f5ac952ba763681

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


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Don't dump core when destroying an unused ParallelContext.
Next
From: Robert Haas
Date:
Subject: pgsql: Add a Gather executor node.