mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +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:
@@ -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
|
||||
------+--------------
|
||||
|
||||
@@ -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
|
||||
------+-------------
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user