Re: numeric field overflow

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Nurzhan Kirbassov <km(dot)sameboy(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: numeric field overflow
Date: 2009-10-06 07:01:37
Message-ID: C6F04771.C5DB3%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> However, I am not able to insert numbers that have number of digits
> equal to the precision and the scale equal to 0.

Scale applies to the *column*. You defined your column to have a scale of 1,
so you can't just claim that your value has scale 0 and claim an extra digit
to the left of the decimal point.

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Miklosi Attila 2009-10-06 08:04:45 Re: connection failure
Previous Message Albe Laurenz 2009-10-06 07:00:58 Re: Documentation on standard conforming strings?