| От | Tom Lane |
|---|---|
| Тема | Re: numeric/decimal docs bug? |
| Дата | |
| Msg-id | 5823.1015809160@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: numeric/decimal docs bug? (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: numeric/decimal docs bug?
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
> #define NUMERIC_MAX_PRECISION 1000
>>
>> I was thinking just the other day that there's no reason for that
>> limit to be so low. Jan, couldn't we bump it up to 8 or 16K or so?
> Why have an arbitrary limit at all? Set it to INT_MAX,
The hard limit is certainly no more than 64K, since we store these
numbers in half of an atttypmod. In practice I suspect the limit may
be less; Jan would be more likely to remember...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера