From efc1aeb85a220d367d19d5bbb7817debd5920ab4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Fri, 14 Aug 2009 23:25:51 +0000 Subject: [PATCH] Remove the test case that depends on the platform's float output format. --- src/pl/plpython/expected/plpython_types.out | 8 -------- src/pl/plpython/sql/plpython_types.sql | 1 - 2 files changed, 9 deletions(-) diff --git a/src/pl/plpython/expected/plpython_types.out b/src/pl/plpython/expected/plpython_types.out index fd4efe95964..476f32974be 100644 --- a/src/pl/plpython/expected/plpython_types.out +++ b/src/pl/plpython/expected/plpython_types.out @@ -173,14 +173,6 @@ CONTEXT: PL/Python function "test_type_conversion_numeric" 5000000000.5 (1 row) -SELECT * FROM test_type_conversion_numeric(79228162514264337593543950336); -INFO: (7.9228162514264338e+28, <type 'float'>) -CONTEXT: PL/Python function "test_type_conversion_numeric" - test_type_conversion_numeric -------------------------------- - 79228162514300000000000000000 -(1 row) - SELECT * FROM test_type_conversion_numeric(null); INFO: (None, <type 'NoneType'>) CONTEXT: PL/Python function "test_type_conversion_numeric" diff --git a/src/pl/plpython/sql/plpython_types.sql b/src/pl/plpython/sql/plpython_types.sql index d0579962a94..79fbbb9c882 100644 --- a/src/pl/plpython/sql/plpython_types.sql +++ b/src/pl/plpython/sql/plpython_types.sql @@ -65,7 +65,6 @@ $$ LANGUAGE plpythonu; SELECT * FROM test_type_conversion_numeric(100); SELECT * FROM test_type_conversion_numeric(-100); SELECT * FROM test_type_conversion_numeric(5000000000.5); -SELECT * FROM test_type_conversion_numeric(79228162514264337593543950336); SELECT * FROM test_type_conversion_numeric(null); -- GitLab