INSERT INTO fract_only VALUES (2, '0.1');
INSERT INTO fract_only VALUES (3, '1.0'); -- should fail
ERROR: numeric field overflow
-DETAIL: The absolute value is greater than or equal to 10^0 for field with precision 4, scale 4.
+DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1.
INSERT INTO fract_only VALUES (4, '-0.9999');
INSERT INTO fract_only VALUES (5, '0.99994');
INSERT INTO fract_only VALUES (6, '0.99995'); -- should fail
ERROR: numeric field overflow
-DETAIL: The absolute value is greater than or equal to 10^0 for field with precision 4, scale 4.
+DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1.
INSERT INTO fract_only VALUES (7, '0.00001');
INSERT INTO fract_only VALUES (8, '0.00017');
SELECT * FROM fract_only;