Re: [HACKERS] numeric data type on 6.5 - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] numeric data type on 6.5
Date
Msg-id 199904270948.SAA23721@srapc451.sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] numeric data type on 6.5  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Responses Re: [HACKERS] numeric data type on 6.5  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
>> I thought numeric data type on 6.5 allows a very large precision. Am I 
>> missing something?
>[...]
>> test=> insert into t1 values(100000000000000000000000000000);
>> NOTICE:  Integer input '100000000000000000000000000000' is out of range; promoted to float
>
>Try this.
>insert into t1 values('100000000000000000000000000000'::numeric);

Thanks. It definitely works!
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [HACKERS] numeric data type on 6.5
Next
From: Tatsuo Ishii
Date:
Subject: fix for _copyUnique()