From 9f9823950a6908905ed4271d66cf69bb9fea8a36 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" <lockhart@fourpalms.org> Date: Thu, 15 Apr 1999 02:15:36 +0000 Subject: [PATCH] Fix error message to match that returned by new regression test reference machine (linux-2.0.36 RH5.2 with RH5.2 patches). --- src/test/regress/expected/int2.out | 2 +- src/test/regress/expected/int4.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/int2.out b/src/test/regress/expected/int2.out index e5882dc5d01..e95f2346374 100644 --- a/src/test/regress/expected/int2.out +++ b/src/test/regress/expected/int2.out @@ -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.*; diff --git a/src/test/regress/expected/int4.out b/src/test/regress/expected/int4.out index b53ed3a0578..a9312ca5821 100644 --- a/src/test/regress/expected/int4.out +++ b/src/test/regress/expected/int4.out @@ -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.*; -- GitLab