OSDN Git Service

Remove outdated comments from the regression test files.
authorRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2010 15:55:43 +0000 (10:55 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 15 Nov 2010 16:00:20 +0000 (11:00 -0500)
Since 2004, int2 and int4 operators do detect overflow; this was fixed by
commit 4171bb869f234281a13bb862d3b1e577bf336242.

Extracted from a larger patch by Andres Freund.

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

index 61ac956..8fff981 100644 (file)
@@ -1,7 +1,5 @@
 --
 -- INT2
--- NOTE: int2 operators never check for over/underflow!
--- Some of these answers are consequently numerically incorrect.
 --
 CREATE TABLE INT2_TBL(f1 int2);
 INSERT INTO INT2_TBL(f1) VALUES ('0   ');
index a21bbda..3fadb7b 100644 (file)
@@ -1,7 +1,5 @@
 --
 -- INT4
--- WARNING: int4 operators never check for over/underflow!
--- Some of these answers are consequently numerically incorrect.
 --
 CREATE TABLE INT4_TBL(f1 int4);
 INSERT INTO INT4_TBL(f1) VALUES ('   0  ');
index bf4efba..20d31b6 100644 (file)
@@ -1,7 +1,5 @@
 --
 -- INT2
--- NOTE: int2 operators never check for over/underflow!
--- Some of these answers are consequently numerically incorrect.
 --
 
 CREATE TABLE INT2_TBL(f1 int2);
index 5212c68..5e84f64 100644 (file)
@@ -1,7 +1,5 @@
 --
 -- INT4
--- WARNING: int4 operators never check for over/underflow!
--- Some of these answers are consequently numerically incorrect.
 --
 
 CREATE TABLE INT4_TBL(f1 int4);