File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/regress/expected Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -688,12 +688,12 @@ INSERT INTO fract_only VALUES (1, '0.0');
688
688
INSERT INTO fract_only VALUES (2, '0.1');
689
689
INSERT INTO fract_only VALUES (3, '1.0'); -- should fail
690
690
ERROR: numeric field overflow
691
- DETAIL: The absolute value is greater than or equal to 10^0 for field with precision 4, scale 4 .
691
+ DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1 .
692
692
INSERT INTO fract_only VALUES (4, '-0.9999');
693
693
INSERT INTO fract_only VALUES (5, '0.99994');
694
694
INSERT INTO fract_only VALUES (6, '0.99995'); -- should fail
695
695
ERROR: numeric field overflow
696
- DETAIL: The absolute value is greater than or equal to 10^0 for field with precision 4, scale 4 .
696
+ DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1 .
697
697
INSERT INTO fract_only VALUES (7, '0.00001');
698
698
INSERT INTO fract_only VALUES (8, '0.00017');
699
699
SELECT * FROM fract_only;
You can’t perform that action at this time.
0 commit comments