Re: numeric/decimal docs bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: numeric/decimal docs bug?
Date
Msg-id 15073.1015089810@sss.pgh.pa.us
Whole thread Raw
In response to numeric/decimal docs bug?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: numeric/decimal docs bug?  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Oracle vs PostgreSQL in real life : NEWS!!!
Next
From: Bruce Momjian
Date:
Subject: Re: elog() patch