]> granicus.if.org Git - postgresql/commit
Revert part of the previous patch that avoided using PLy_elog().
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 5 Jul 2012 20:40:25 +0000 (23:40 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 5 Jul 2012 20:43:46 +0000 (23:43 +0300)
commit7c58a5f246dfab299e6c73c5ed9b04e7dc8d1745
tree0d8f9f6f2f115bb0901c037ea1a434a3a5397f1c
parent773288016d00bd72e8e2bcb5b1eec67abb2d9e00
Revert part of the previous patch that avoided using PLy_elog().

That caused the plpython_unicode regression test to fail on SQL_ASCII
encoding, as evidenced by the buildfarm. The reason is that with the patch,
you don't get the detail in the error message that you got before. That
detail is actually very informative, so rather than just adjust the expected
output, let's revert that part of the patch for now to make the buildfarm
green again, and figure out some other way to avoid the recursion of
PLy_elog() that doesn't lose the detail.
src/pl/plpython/plpy_util.c