mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
PL/Python: Fix regression tests for Python 3
This commit is contained in:
parent
4464303405
commit
ff2faeec5c
@ -354,6 +354,14 @@ CONTEXT: PL/Python function "test_type_conversion_float8"
|
||||
|
||||
(1 row)
|
||||
|
||||
SELECT * FROM test_type_conversion_float8(100100100.654321);
|
||||
INFO: (100100100.654321, <class 'float'>)
|
||||
CONTEXT: PL/Python function "test_type_conversion_float8"
|
||||
test_type_conversion_float8
|
||||
-----------------------------
|
||||
100100100.654321
|
||||
(1 row)
|
||||
|
||||
CREATE FUNCTION test_type_conversion_oid(x oid) RETURNS oid AS $$
|
||||
plpy.info(x, type(x))
|
||||
return x
|
||||
|
Loading…
Reference in New Issue
Block a user