• Tom Lane's avatar
    Fix logic for adding "parallel worker" context line to worker errors. · fbf28b6b
    Tom Lane authored
    The previous coding here was capable of adding a "parallel worker" context
    line to errors that were not, in fact, returned from a parallel worker.
    Instead of using an errcontext callback to add that annotation, just paste
    it onto the message by hand; this looks uglier but is more reliable.
    
    Discussion: <19757.1472151987@sss.pgh.pa.us>
    fbf28b6b
parallel.c 34.1 KB