From: Zot O'Connor <zot@zotconsulting.com>
To: postgres sql <pgsql-sql@hub.org>
Subject: Numeric Bug?
Date: Fri, 29 Oct 1999 16:23:18 -0700
Message-ID: <381A2C66.1809CE9F@zotconsulting.com> (raw)
It appears as though 0.0 has a bigger value?
I am running redhar 6.5.2 rpms (RH6).
DROP
create table example(
other decimal(4,4)
);
CREATE
insert into example (other) values(3.9);
ERROR: overflow on numeric ABS(value) >= 10^0 for field with precision
4 scale 4
insert into example (other) values(0.0);
ERROR: overflow on numeric ABS(value) >= 10^0 for field with precision
4 scale 4
insert into example (other) values(0.1);
INSERT 49645 1
insert into example (other) values(0.1234);
INSERT 49710 1
I can insert 0.1 but not 0.0?
This cannot be right! This works for Solid and mysql!
Is there a workaround?
--
Zot O'Connor
www.ZotConsulting.com
www.WhiteKnightHackers.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: zot@zotconsulting.com, pgsql-sql@hub.org
Subject: Re: Numeric Bug?
In-Reply-To: <381A2C66.1809CE9F@zotconsulting.com>
References: <381A2C66.1809CE9F@zotconsulting.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox