Fix logic for adding "parallel worker" context line to worker errors.
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: <[email protected]>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/fbf28b6b52c269188262a87247adb2c359acd6c5
Modified Files
--------------
src/backend/access/transam/parallel.c | 54 +++++++++++++++++------------------
1 file changed, 27 insertions(+), 27 deletions(-)