From: Peter Eisentraut Date: Mon, 28 Feb 2011 17:43:36 +0000 (+0200) Subject: Fix regression tests after PL/Python custom SPI exceptions patch X-Git-Tag: REL9_1_ALPHA4~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b853c879d3c298b7ea7a09fcb74314bc54c37e4;p=thirdparty%2Fpostgresql.git Fix regression tests after PL/Python custom SPI exceptions patch --- 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();