Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d70ed8

Browse files
committed
Remove outdated comments from the regression test files.
Since 2004, int2 and int4 operators do detect overflow; this was fixed by commit 4171bb8. Extracted from a larger patch by Andres Freund.
1 parent 20cf8ae commit 8d70ed8

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

src/test/regress/expected/int2.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--
22
-- INT2
3-
-- NOTE: int2 operators never check for over/underflow!
4-
-- Some of these answers are consequently numerically incorrect.
53
--
64
CREATE TABLE INT2_TBL(f1 int2);
75
INSERT INTO INT2_TBL(f1) VALUES ('0 ');

src/test/regress/expected/int4.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--
22
-- INT4
3-
-- WARNING: int4 operators never check for over/underflow!
4-
-- Some of these answers are consequently numerically incorrect.
53
--
64
CREATE TABLE INT4_TBL(f1 int4);
75
INSERT INTO INT4_TBL(f1) VALUES (' 0 ');

src/test/regress/sql/int2.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--
22
-- INT2
3-
-- NOTE: int2 operators never check for over/underflow!
4-
-- Some of these answers are consequently numerically incorrect.
53
--
64

75
CREATE TABLE INT2_TBL(f1 int2);

src/test/regress/sql/int4.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--
22
-- INT4
3-
-- WARNING: int4 operators never check for over/underflow!
4-
-- Some of these answers are consequently numerically incorrect.
53
--
64

75
CREATE TABLE INT4_TBL(f1 int4);

0 commit comments

Comments
 (0)