Re: Numeric 508 datatype
От | Bruce Momjian |
---|---|
Тема | Re: Numeric 508 datatype |
Дата | |
Msg-id | 200512021842.jB2Igeh00374@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Numeric 508 datatype (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Numeric 508 datatype
|
Список | pgsql-patches |
Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > I am confused by your use of the term "dynamic" range. From what you > > say above that we are just moving from 1000 to 508 for storage, and that > > computational range would still be 4096? > > No, computational range would still be on the order of 10^16G ... in the > computational format, the weight is an int. The restriction to 1000 > digits was never anything but an artificial limit. (Of course, you > might not have the patience to actually do any arithmetic with that many > digits, but the point is there was a whole lot of headroom before, and > now there won't be.) Sorry, I am confused. If our computational range is that high, why does SELECT factorial(4000) and SELECT factorial(6000) produce the same number of digits on my screen. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: