mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03: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)
|
(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 $$
|
CREATE FUNCTION test_type_conversion_oid(x oid) RETURNS oid AS $$
|
||||||
plpy.info(x, type(x))
|
plpy.info(x, type(x))
|
||||||
return x
|
return x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user