Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cc73c16

Browse files
committed
Quick hack to un-break plpython regression tests.
It's not clear to me what should happen to the other plpython_unicode variant expected files, but this patch gets things passing on my own machines and at least some of the buildfarm.
1 parent 0f73aae commit cc73c16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pl/plpython/expected/plpython_unicode_3.out

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ SELECT * FROM unicode_test;
4141
SELECT unicode_plan1();
4242
WARNING: PL/Python: plpy.Error: unrecognized error in PLy_spi_execute_plan
4343
CONTEXT: PL/Python function "unicode_plan1"
44-
ERROR: PL/Python: could not convert Python Unicode object to PostgreSQL server encoding
45-
DETAIL: UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
44+
ERROR: PL/Python: plpy.SPIError: PL/Python: could not convert Python Unicode object to PostgreSQL server encoding
4645
CONTEXT: PL/Python function "unicode_plan1"
4746
SELECT unicode_plan2();
4847
unicode_plan2

0 commit comments

Comments
 (0)