pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Don't dump core when destroying an unused ParallelContext.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Don't dump core when destroying an unused ParallelContext.
@ 2015-09-30 22:44  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2015-09-30 22:44 UTC (permalink / raw)
  To: 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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/91d97f03ca2a9ed56b322b69dde0392db835f722

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Don't dump core when destroying an unused ParallelContext.
@ 2015-09-30 22:44  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2015-09-30 22:44 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-09-30 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-30 22:44 pgsql: Don't dump core when destroying an unused ParallelContext. Robert Haas <rhaas@postgresql.org>
2015-09-30 22:44 pgsql: Don't dump core when destroying an unused ParallelContext. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox