]> 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:42:10 +0000 (18:42 -0400)
commit91d97f03ca2a9ed56b322b69dde0392db835f722
treed6ebb80e236014c190cd6753278a878be5ac2ba7
parent75096c458aa8e27160112cc20a18fec3a111e4b0
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