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

Commit56ac25c

Browse files
committed
Manual attempt to update this file.
1 parent1fb1049 commit56ac25c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
-- the trigger handler once. the errors and subsequent core dump were
33
-- interesting.
44
SELECT invalid_type_uncaught('rick');
5-
WARNING:plpython: in function invalid_type_uncaught:
6-
DETAIL: plpy.SPIError:Unknown error in PLy_spi_prepare
5+
WARNING:PL/Python: inPL/Pythonfunction"invalid_type_uncaught"
6+
DETAIL: plpy.SPIError:unrecognized error in PLy_spi_prepare
77
ERROR: type "test" does not exist
88
SELECT invalid_type_caught('rick');
9-
WARNING:plpython: in function invalid_type_caught:
10-
DETAIL: plpy.SPIError:Unknown error in PLy_spi_prepare
9+
WARNING:PL/Python: inPL/Pythonfunction"invalid_type_caught"
10+
DETAIL: plpy.SPIError:unrecognized error in PLy_spi_prepare
1111
ERROR: type "test" does not exist
1212
SELECT invalid_type_reraised('rick');
13-
WARNING:plpython: in function invalid_type_reraised:
14-
DETAIL: plpy.SPIError:Unknown error in PLy_spi_prepare
13+
WARNING:PL/Python: inPL/Pythonfunction"invalid_type_reraised"
14+
DETAIL: plpy.SPIError:unrecognized error in PLy_spi_prepare
1515
ERROR: type "test" does not exist
1616
SELECT valid_type('rick');
1717
valid_type
@@ -23,16 +23,16 @@ SELECT valid_type('rick');
2323
-- Test Unicode error handling.
2424
--
2525
SELECT unicode_return_error();
26-
ERROR:plpython:function "unicode_return_error"could not create return value
26+
ERROR:PL/Python: could not create string representation of Python object in PL/Pythonfunction "unicode_return_error"while creating return value
2727
DETAIL: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character '\u80' in position 0: ordinal not in range(128)
2828
INSERT INTO unicode_test (testvalue) VALUES ('test');
29-
ERROR:plpython:function "unicode_trigger_error"could not modify tuple
29+
ERROR:PL/Python: could not compute string representation of Python object in PL/Pythonfunction "unicode_trigger_error"while modifying trigger row
3030
DETAIL: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character '\u80' in position 0: ordinal not in range(128)
3131
SELECT unicode_plan_error1();
32-
WARNING:plpython: in function unicode_plan_error1:
33-
DETAIL: plpy.Error:Unknown error in PLy_spi_execute_plan
34-
ERROR:plpython: function "unicode_plan_error1" could not execute plan
32+
WARNING:PL/Python: inPL/Pythonfunction"unicode_plan_error1"
33+
DETAIL: plpy.Error:unrecognized error in PLy_spi_execute_plan
34+
ERROR:PL/Python: PL/Python function "unicode_plan_error1" could not execute plan
3535
DETAIL: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character '\u80' in position 0: ordinal not in range(128)
3636
SELECT unicode_plan_error2();
37-
ERROR:plpython: function "unicode_plan_error2" could not execute plan
37+
ERROR:PL/Python: PL/Python function "unicode_plan_error2" could not execute plan
3838
DETAIL: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character '\u80' in position 0: ordinal not in range(128)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp