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