Re: maximum digits for NUMERIC

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: maximum digits for NUMERIC
Date: 2011-04-27 03:47:52
Message-ID: 201104270347.p3R3lqI02183@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2011-04-27 03:51:35 Re: Alignment padding bytes in arrays vs the planner
Previous Message Greg Stark 2011-04-27 03:44:27 Re: Alignment padding bytes in arrays vs the planner