@@ -247,13 +247,13 @@ UPDATE FLOAT8_TBL
247247 SET f1 = FLOAT8_TBL.f1 * '-1'
248248 WHERE FLOAT8_TBL.f1 > '0.0';
249249SELECT '' 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
251251SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
252252ERROR: result is out of range
253253SELECT '' 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
255255SELECT '' 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
257257SELECT '' AS bad, exp(f.f1) from FLOAT8_TBL f;
258258ERROR: result is out of range
259259SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f;
@@ -270,13 +270,13 @@ SELECT '' AS five, FLOAT8_TBL.*;
270270
271271-- test for over- and underflow
272272INSERT 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
274274INSERT 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
276276INSERT 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
278278INSERT 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
280280-- maintain external table consistency across platforms
281281-- delete all values and reinsert well-behaved ones
282282DELETE FROM FLOAT8_TBL;
0 commit comments