pgsql: Don't dump core when destroying an unused ParallelContext.
pgsql: Don't dump core when destroying an unused ParallelContext.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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(-)