Skip to content

Commit 5d0e462

Browse files
committed
Update regression test files for PL/Python traceback patch
1 parent c751638 commit 5d0e462

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy