postgres.git / summary / log / commit / refs
commit ff2faeec5c77539f3c64e6e7d94af1b00a168d10
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Wed Mar 11 22:30:34 2015 +0000
PL/Python: Fix regression tests for Python 3
src/pl/plpython/expected/plpython_types_3.out | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/pl/plpython/expected/plpython_types_3.out b/src/pl/plpython/expected/plpython_types_3.out
index a3f9d4c50b6..c439011ba3a 100644
--- a/src/pl/plpython/expected/plpython_types_3.out
+++ b/src/pl/plpython/expected/plpython_types_3.out
@@ -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
[parent: 4464303405f1]