Re: numeric/decimal docs bug?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: numeric/decimal docs bug?
Дата
Msg-id 15073.1015089810@sss.pgh.pa.us
обсуждение исходный текст
Ответ на numeric/decimal docs bug?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: numeric/decimal docs bug?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> In datatype.sgml:
>      The type numeric can store numbers of practically
>      unlimited size and precision,...

> I think this is simply wrong since the current implementation of
> numeric and decimal data types limit the precision up to 1000.

> #define NUMERIC_MAX_PRECISION        1000

I was thinking just the other day that there's no reason for that
limit to be so low.  Jan, couldn't we bump it up to 8 or 16K or so?

(Not that I'd care to do heavy arithmetic on such numbers, or that
I believe there's any practical use for them ... but why set the
limit lower than we must?)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: Oracle vs PostgreSQL in real life : NEWS!!!
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: elog() patch