pgsql: Fix a couple of bugs in recent parallelism-related commits.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a couple of bugs in recent parallelism-related commits.
Date: 2015-10-22 14:53:47
Message-ID: E1ZpHFT-0005zp-KT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix a couple of bugs in recent parallelism-related commits.

Commit 816e336f12ecabdc834d4cc31bcf966b2dd323dc added the wrong error
check to async.c; sending restrictions is restricted to the leader,
not altogether unsafe.

Commit 3bd909b220930f21d6e15833a17947be749e7fde added ExecShutdownNode
to traverse the planstate tree and call shutdown functions, but made
a Gather node, the only node that actually has such a function, abort
the tree traversal, which is wrong.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bde39eed0cafb82bc94c40e95d96b5cf47b6f719

Modified Files
--------------
src/backend/commands/async.c | 5 +++--
src/backend/executor/execProcnode.c | 5 +----
2 files changed, 4 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-10-22 16:34:16 pgsql: Remove redundant CREATEUSER/NOCREATEUSER options in CREATE ROLE
Previous Message Robert Haas 2015-10-22 14:44:28 pgsql: Add header comments to execParallel.c and nodeGather.c.