Re: [HACKERS] numeric data type on 6.5

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] numeric data type on 6.5
Дата
Msg-id 199904270948.SAA23721@srapc451.sra.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] numeric data type on 6.5  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Ответы Re: [HACKERS] numeric data type on 6.5  (jwieck@debis.com (Jan Wieck))
Список 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 по дате отправления:

Предыдущее
От: "D'Arcy" "J.M." Cain
Дата:
Сообщение: Re: [HACKERS] numeric data type on 6.5
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: fix for _copyUnique()