pgsql: Revert part of the previous patch that avoided using PLy_elog(). - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Revert part of the previous patch that avoided using PLy_elog().
Date
Msg-id E1Smt0e-0007rS-9d@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b4234f8fc49fc58ea904f0b9eea0336d5a7930d8

Modified Files
--------------
src/pl/plpython/plpython.c |   11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Revert part of the previous patch that avoided using PLy_elog().
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Revert part of the previous patch that avoided using PLy_elog().