Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group