diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-08-26 10:07:28 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-08-26 10:07:28 -0400 |
commit | fbf28b6b52c269188262a87247adb2c359acd6c5 (patch) | |
tree | a97d45be7b437ee563cee88b42f589cd11104c11 /src/include/postgres_ext.h | |
parent | ae025a15988f5491903cd3a2075f308c2773f711 (diff) | |
download | postgresql-fbf28b6b52c269188262a87247adb2c359acd6c5.tar.gz postgresql-fbf28b6b52c269188262a87247adb2c359acd6c5.zip |
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: <19757.1472151987@sss.pgh.pa.us>
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions