• Robert Haas's avatar
    Fix a couple of bugs in recent parallelism-related commits. · bde39eed
    Robert Haas authored
    Commit 816e336f added the wrong error
    check to async.c; sending restrictions is restricted to the leader,
    not altogether unsafe.
    
    Commit 3bd909b2 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.
    bde39eed
execProcnode.c 19.6 KB