OSDN Git Service

Fix error message to match that returned by new regression test reference
authorThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 15 Apr 1999 02:15:36 +0000 (02:15 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 15 Apr 1999 02:15:36 +0000 (02:15 +0000)
 machine (linux-2.0.36 RH5.2 with RH5.2 patches).

src/test/regress/expected/int2.out
src/test/regress/expected/int4.out

index e5882dc..e95f234 100644 (file)
@@ -7,7 +7,7 @@ ERROR:  pg_atoi: error in "34.5": can't parse ".5"
 QUERY: INSERT INTO INT2_TBL(f1) VALUES ('32767');
 QUERY: INSERT INTO INT2_TBL(f1) VALUES ('-32767');
 QUERY: INSERT INTO INT2_TBL(f1) VALUES ('100000');
-ERROR:  pg_atoi: error reading "100000": Math result not representable
+ERROR:  pg_atoi: error reading "100000": Numerical result out of range
 QUERY: INSERT INTO INT2_TBL(f1) VALUES ('asdf');
 ERROR:  pg_atoi: error in "asdf": can't parse "asdf"
 QUERY: SELECT '' AS five, INT2_TBL.*;
index b53ed3a..a9312ca 100644 (file)
@@ -7,7 +7,7 @@ ERROR:  pg_atoi: error in "34.5": can't parse ".5"
 QUERY: INSERT INTO INT4_TBL(f1) VALUES ('2147483647');
 QUERY: INSERT INTO INT4_TBL(f1) VALUES ('-2147483647');
 QUERY: INSERT INTO INT4_TBL(f1) VALUES ('1000000000000');
-ERROR:  pg_atoi: error reading "1000000000000": Math result not representable
+ERROR:  pg_atoi: error reading "1000000000000": Numerical result out of range
 QUERY: INSERT INTO INT4_TBL(f1) VALUES ('asdf');
 ERROR:  pg_atoi: error in "asdf": can't parse "asdf"
 QUERY: SELECT '' AS five, INT4_TBL.*;