1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Revert "Test conversion of NaN between float4 and float8."

This reverts commit 55e0e45817.
It's served its purpose of demonstrating what was wrong on
buildfarm member opossum.  We could consider putting some kind
of single-purpose hack into ftod() to make the test pass there;
but I don't think it's worth the trouble, since there are surely
many other places whether this platform bug could manifest.
This commit is contained in:
Tom Lane
2018-05-05 13:22:11 -04:00
parent cb3e9e40bc
commit 5c4c771daf
3 changed files with 0 additions and 26 deletions

View File

@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
NaN
(1 row)
SELECT 'nan'::float8::float4;
float4
--------
NaN
(1 row)
SELECT 'nan'::float4::float8;
float8
--------
NaN
(1 row)
SELECT '' AS five, * FROM FLOAT4_TBL;
five | f1
------+--------------

View File

@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
NaN
(1 row)
SELECT 'nan'::float8::float4;
float4
--------
NaN
(1 row)
SELECT 'nan'::float4::float8;
float8
--------
NaN
(1 row)
SELECT '' AS five, * FROM FLOAT4_TBL;
five | f1
------+-------------

View File

@ -41,8 +41,6 @@ SELECT 'Infinity'::float4 + 100.0;
SELECT 'Infinity'::float4 / 'Infinity'::float4;
SELECT 'nan'::float4 / 'nan'::float4;
SELECT 'nan'::numeric::float4;
SELECT 'nan'::float8::float4;
SELECT 'nan'::float4::float8;
SELECT '' AS five, * FROM FLOAT4_TBL;