]> granicus.if.org Git - postgresql/commitdiff
PL/Python: Fix regression tests for Python 3
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 11 Mar 2015 22:30:34 +0000 (18:30 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 11 Mar 2015 22:30:56 +0000 (18:30 -0400)
src/pl/plpython/expected/plpython_types_3.out

index a3f9d4c50b6baef4101e144c020c153e1a4c18d2..c439011ba3a17641e07c54623fd79cc54abd8855 100644 (file)
@@ -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