| От | Tom Lane |
|---|---|
| Тема | Re: Issues with factorial operator |
| Дата | |
| Msg-id | 16015.1181398924@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Issues with factorial operator ("Jim C. Nasby" <decibel@decibel.org>) |
| Список | pgsql-hackers |
"Jim C. Nasby" <decibel@decibel.org> writes:
> So at the very least the documentation is confusing:
> The type numeric can store numbers with up to 1000 digits of precision
> and perform calculations exactly.
This documentation is outright wrong. The grain of truth behind the
statement is that the parser won't let you declare numeric(N) columns
with N > 1000. But unconstrained numeric can be a lot larger. The
hard limit of the format seems to be 10^128K.
I agree that a CHECK_FOR_INTERRUPTS in numeric_fac wouldn't be a bad
idea, and we can reject arguments that are clearly going to overflow.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера