Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c751638 commit 5d0e462Copy full SHA for 5d0e462
src/pl/plpython/expected/plpython_unicode_3.out
@@ -41,7 +41,10 @@ SELECT * FROM unicode_test;
41
SELECT unicode_plan1();
42
ERROR: spiexceptions.InternalError: could not convert Python Unicode object to PostgreSQL server encoding
43
DETAIL: UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
44
-CONTEXT: PL/Python function "unicode_plan1"
+CONTEXT: Traceback (most recent call last):
45
+ PL/Python function "unicode_plan1", line 3, in <module>
46
+ rv = plpy.execute(plan, [u"\x80"], 1)
47
+PL/Python function "unicode_plan1"
48
SELECT unicode_plan2();
49
unicode_plan2
50
---------------
0 commit comments