diff --git a/src/test/regress/expected/float8-small-is-zero.out b/src/test/regress/expected/float8-small-is-zero.out index ce173f72c9..1c3bbae6b8 100644 --- a/src/test/regress/expected/float8-small-is-zero.out +++ b/src/test/regress/expected/float8-small-is-zero.out @@ -511,10 +511,10 @@ SELECT '-2147483648.4'::float8::int4; SELECT '-2147483648.6'::float8::int4; ERROR: integer out of range -SELECT '9223372036854774784'::float8::int8; +SELECT '9223372036854773760'::float8::int8; int8 --------------------- - 9223372036854774784 + 9223372036854773760 (1 row) SELECT '9223372036854775807'::float8::int8; diff --git a/src/test/regress/expected/float8.out b/src/test/regress/expected/float8.out index 1d51012a69..75c0bf389b 100644 --- a/src/test/regress/expected/float8.out +++ b/src/test/regress/expected/float8.out @@ -513,10 +513,10 @@ SELECT '-2147483648.4'::float8::int4; SELECT '-2147483648.6'::float8::int4; ERROR: integer out of range -SELECT '9223372036854774784'::float8::int8; +SELECT '9223372036854773760'::float8::int8; int8 --------------------- - 9223372036854774784 + 9223372036854773760 (1 row) SELECT '9223372036854775807'::float8::int8; diff --git a/src/test/regress/sql/float8.sql b/src/test/regress/sql/float8.sql index ed87942446..6595fd2b95 100644 --- a/src/test/regress/sql/float8.sql +++ b/src/test/regress/sql/float8.sql @@ -183,7 +183,7 @@ SELECT '2147483647.4'::float8::int4; SELECT '2147483647.6'::float8::int4; SELECT '-2147483648.4'::float8::int4; SELECT '-2147483648.6'::float8::int4; -SELECT '9223372036854774784'::float8::int8; +SELECT '9223372036854773760'::float8::int8; SELECT '9223372036854775807'::float8::int8; SELECT '-9223372036854775808.5'::float8::int8; SELECT '-9223372036854780000'::float8::int8;