Re: maximum digits for NUMERIC

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Noah Misch <noah@leadboat.com>, Gianni Ciolli <gianni.ciolli@2ndquadrant.it>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-04-27T03:47:52Z
Lists: pgsql-hackers
Alvaro Herrera wrote:
> Excerpts from Bruce Momjian's message of mar abr 26 12:58:19 -0300 2011:
> 
> > Wow, I am so glad someone documented this.  I often do factorial(4000)
> > which generates 12673 digits when teaching classes, and it bugged me
> > that we documented the limit as 1000 digits.
> 
> I keep wondering why you want to know factorial(4000) so often.

It is just to impress folks, and it is impressive.  An instant
screenful of digits is pretty cool.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +