Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c4c771

Browse files
committed
Revert "Test conversion of NaN between float4 and float8."
This reverts commit55e0e45.It's served its purpose of demonstrating what was wrong onbuildfarm member opossum. We could consider putting some kindof single-purpose hack into ftod() to make the test pass there;but I don't think it's worth the trouble, since there are surelymany other places whether this platform bug could manifest.
1 parentcb3e9e4 commit5c4c771

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

‎src/test/regress/expected/float4-exp-three-digits.out

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
125125
NaN
126126
(1 row)
127127

128-
SELECT 'nan'::float8::float4;
129-
float4
130-
--------
131-
NaN
132-
(1 row)
133-
134-
SELECT 'nan'::float4::float8;
135-
float8
136-
--------
137-
NaN
138-
(1 row)
139-
140128
SELECT '' AS five, * FROM FLOAT4_TBL;
141129
five | f1
142130
------+--------------

‎src/test/regress/expected/float4.out

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,6 @@ SELECT 'nan'::numeric::float4;
125125
NaN
126126
(1 row)
127127

128-
SELECT 'nan'::float8::float4;
129-
float4
130-
--------
131-
NaN
132-
(1 row)
133-
134-
SELECT 'nan'::float4::float8;
135-
float8
136-
--------
137-
NaN
138-
(1 row)
139-
140128
SELECT '' AS five, * FROM FLOAT4_TBL;
141129
five | f1
142130
------+-------------

‎src/test/regress/sql/float4.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ SELECT 'Infinity'::float4 + 100.0;
4141
SELECT'Infinity'::float4/'Infinity'::float4;
4242
SELECT'nan'::float4/'nan'::float4;
4343
SELECT'nan'::numeric::float4;
44-
SELECT'nan'::float8::float4;
45-
SELECT'nan'::float4::float8;
4644

4745
SELECT''AS five,*FROM FLOAT4_TBL;
4846

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp