Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9f98239

Browse files
author
Thomas G. Lockhart
committed
Fix error message to match that returned by new regression test reference
machine (linux-2.0.36 RH5.2 with RH5.2 patches).
1 parent 630ed05 commit 9f98239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/int2.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ERROR: pg_atoi: error in "34.5": can't parse ".5"
77
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('32767');
88
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('-32767');
99
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('100000');
10-
ERROR: pg_atoi: error reading "100000": Math result not representable
10+
ERROR: pg_atoi: error reading "100000": Numerical result out of range
1111
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('asdf');
1212
ERROR: pg_atoi: error in "asdf": can't parse "asdf"
1313
QUERY: SELECT '' AS five, INT2_TBL.*;

src/test/regress/expected/int4.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ERROR: pg_atoi: error in "34.5": can't parse ".5"
77
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('2147483647');
88
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('-2147483647');
99
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('1000000000000');
10-
ERROR: pg_atoi: error reading "1000000000000": Math result not representable
10+
ERROR: pg_atoi: error reading "1000000000000": Numerical result out of range
1111
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('asdf');
1212
ERROR: pg_atoi: error in "asdf": can't parse "asdf"
1313
QUERY: SELECT '' AS five, INT4_TBL.*;

0 commit comments

Comments
 (0)