• Robert Haas's avatar
    Avoid server crash when worker registration fails at execution time. · 6c878a75
    Robert Haas authored
    The previous coding attempts to destroy the DSM in this case, but
    child nodes might have stored data there and still be holding onto
    pointers in this case.  So don't do that.
    
    Also, free the reader array instead of leaking it.
    
    Extracted from two different patch versions both by Amit Kapila.
    6c878a75
nodeGather.c 12.6 KB