@@ -247,13 +247,13 @@ UPDATE FLOAT8_TBL
247
247
SET f1 = FLOAT8_TBL.f1 * '-1'
248
248
WHERE FLOAT8_TBL.f1 > '0.0';
249
249
SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f;
250
- ERROR: float8 value out of range: overflow
250
+ ERROR: type "double precision" value out of range: overflow
251
251
SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
252
252
ERROR: result is out of range
253
253
SELECT '' AS bad, ln(f.f1) from FLOAT8_TBL f where f.f1 = '0.0' ;
254
- ERROR: cannot take log of zero
254
+ ERROR: cannot take logarithm of zero
255
255
SELECT '' AS bad, ln(f.f1) from FLOAT8_TBL f where f.f1 < '0.0' ;
256
- ERROR: cannot take log of a negative number
256
+ ERROR: cannot take logarithm of a negative number
257
257
SELECT '' AS bad, exp(f.f1) from FLOAT8_TBL f;
258
258
ERROR: result is out of range
259
259
SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f;
@@ -270,13 +270,13 @@ SELECT '' AS five, FLOAT8_TBL.*;
270
270
271
271
-- test for over- and underflow
272
272
INSERT INTO FLOAT8_TBL(f1) VALUES ('10e400');
273
- ERROR: "10e400" is out of range for float8
273
+ ERROR: "10e400" is out of range for type double precision
274
274
INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e400');
275
- ERROR: "-10e400" is out of range for float8
275
+ ERROR: "-10e400" is out of range for type double precision
276
276
INSERT INTO FLOAT8_TBL(f1) VALUES ('10e-400');
277
- ERROR: "10e-400" is out of range for float8
277
+ ERROR: "10e-400" is out of range for type double precision
278
278
INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e-400');
279
- ERROR: "-10e-400" is out of range for float8
279
+ ERROR: "-10e-400" is out of range for type double precision
280
280
-- maintain external table consistency across platforms
281
281
-- delete all values and reinsert well-behaved ones
282
282
DELETE FROM FLOAT8_TBL;
0 commit comments