Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508
| От | Michael Fuhr |
|---|---|
| Тема | Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508 |
| Дата | |
| Msg-id | 20051206055112.GA62151@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508 (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508
|
| Список | pgsql-hackers |
On Mon, Dec 05, 2005 at 11:59:10PM -0500, Bruce Momjian wrote: > Tom Lane wrote: > > It looks like the limit would be about factorial(256). > > > > The question remains, though, is this computational range good for > > anything except demos? > > I can say that the extended range is good for finding *printf problems. ;-) Might anybody be calculating permutations or combinations with the textbook functions that use factorials? Not a show-stopper since those calculations can be optimized (at least the basic formulas I know), but somebody might get bit by the change. Maybe the release notes could mention the new upper limit of factorial(). -- Michael Fuhr
В списке pgsql-hackers по дате отправления: