Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d0e462

Browse files
committed
Update regression test files for PL/Python traceback patch
1 parentc751638 commit5d0e462

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/pl/plpython/expected/plpython_unicode_3.out

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ SELECT * FROM unicode_test;
4141
SELECT unicode_plan1();
4242
ERROR: spiexceptions.InternalError: could not convert Python Unicode object to PostgreSQL server encoding
4343
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"
44+
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"
4548
SELECT unicode_plan2();
4649
unicode_plan2
4750
---------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp