Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Precision of data types and functions



Gregory Stark <gsstark(at)mit(dot)edu> writes:
> Scott Marlowe <smarlowe(at)g2switchworks(dot)com> writes:
>> test=> insert into test values (123123123123123.2);
>> ERROR:  numeric field overflow
>> DETAIL:  The absolute value is greater than or equal to 10^14 for field
>> with precision 12, scale 2.

> Uhm 10^14? What version of Postgres is that?!

Looks like any current release :-(

> Though I get a correct text with 8.2CVS:
> ...
> I guess Tom fixed some bugs when he reimplemented NUMERIC a while back. 

No, I think Bruce fixed this recently.  It's just a cosmetic mistake in
the error message so we didn't back-patch it.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group