]> granicus.if.org Git - postgresql/commit
Don't dump core when destroying an unused ParallelContext.
authorRobert Haas <rhaas@postgresql.org>
Wed, 30 Sep 2015 22:36:31 +0000 (18:36 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 30 Sep 2015 22:36:31 +0000 (18:36 -0400)
commit227d57f3587d7d2a7d0792011f5ac952ba763681
treee9d01a3ac99cbb49438f66e3293ef20784e312f6
parent7d8db3e8f37aec9d252353904e77381a18a2fa9f
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.
src/backend/access/transam/parallel.c