Re: maximum digits for NUMERIC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: maximum digits for NUMERIC
Date: 2011-03-11 14:38:03
Message-ID: 17321.1299854283@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it> writes:
> maybe we should change the "1000 digits" here:

> http://developer.postgresql.org/pgdocs/postgres/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL

> because ISTM that up to 2^17 digits are supported

This is incorrect. (You're confusing the number of stored digits
with the location of the decimal point.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gianni Ciolli 2011-03-11 15:16:52 Re: maximum digits for NUMERIC
Previous Message Peter Eisentraut 2011-03-11 14:36:30 Re: Indent authentication overloading