aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-02-28 19:43:36 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-02-28 19:43:36 +0200
commit4b853c879d3c298b7ea7a09fcb74314bc54c37e4 (patch)
tree1c8d370915d7d2ad7c0674a3a04f5d25665a8111
parent474a42473adf9b18417242f1fc0691a857ec578b (diff)
downloadpostgresql-4b853c879d3c298b7ea7a09fcb74314bc54c37e4.tar.gz
postgresql-4b853c879d3c298b7ea7a09fcb74314bc54c37e4.zip
Fix regression tests after PL/Python custom SPI exceptions patch
-rw-r--r--src/pl/plpython/expected/plpython_unicode_3.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/expected/plpython_unicode_3.out b/src/pl/plpython/expected/plpython_unicode_3.out
index b9a6705d67b..8c7a61f9d1f 100644
--- a/src/pl/plpython/expected/plpython_unicode_3.out
+++ b/src/pl/plpython/expected/plpython_unicode_3.out
@@ -39,7 +39,7 @@ SELECT * FROM unicode_test;
(0 rows)
SELECT unicode_plan1();
-ERROR: plpy.SPIError: could not convert Python Unicode object to PostgreSQL server encoding
+ERROR: spiexceptions.InternalError: could not convert Python Unicode object to PostgreSQL server encoding
DETAIL: UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
CONTEXT: PL/Python function "unicode_plan1"
SELECT unicode_plan2();