Re: maximum digits for NUMERIC

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, 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 12:20:30
Message-ID: BANLkTimoE=KjRPSROUCJR2tvMetx4kkdmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 27, 2011 at 4:47 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> 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.

If you are into impressing people with big numbers (or maybe doing
something useful with them too) you may take a look at
http://pgmp.projects.postgresql.org/

-- Daniele

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-04-27 12:48:04 Re: unknown conversion %m
Previous Message Heikki Linnakangas 2011-04-27 10:47:32 Re: alpha5