mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
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.
This commit is contained in:
parent
0f73aae13d
commit
cc73c16050
@ -41,8 +41,7 @@ SELECT * FROM unicode_test;
|
|||||||
SELECT unicode_plan1();
|
SELECT unicode_plan1();
|
||||||
WARNING: PL/Python: plpy.Error: unrecognized error in PLy_spi_execute_plan
|
WARNING: PL/Python: plpy.Error: unrecognized error in PLy_spi_execute_plan
|
||||||
CONTEXT: PL/Python function "unicode_plan1"
|
CONTEXT: PL/Python function "unicode_plan1"
|
||||||
ERROR: PL/Python: could not convert Python Unicode object to PostgreSQL server encoding
|
ERROR: PL/Python: plpy.SPIError: PL/Python: 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"
|
CONTEXT: PL/Python function "unicode_plan1"
|
||||||
SELECT unicode_plan2();
|
SELECT unicode_plan2();
|
||||||
unicode_plan2
|
unicode_plan2
|
||||||
|
Loading…
Reference in New Issue
Block a user