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

From Tom Lane
Subject Re: numeric/decimal docs bug?
Date
Msg-id 5823.1015809160@sss.pgh.pa.us
Whole thread Raw
In response to Re: numeric/decimal docs bug?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: numeric/decimal docs bug?  (Jan Wieck <janwieck@yahoo.com>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
> #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?

> Why have an arbitrary limit at all?  Set it to INT_MAX,

The hard limit is certainly no more than 64K, since we store these
numbers in half of an atttypmod.  In practice I suspect the limit may
be less; Jan would be more likely to remember...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: numeric/decimal docs bug?
Next
From: Peter Eisentraut
Date:
Subject: Re: Uniqueness of rule, constraint, and trigger names