| От | Thomas Lockhart |
|---|---|
| Тема | Re: Re: Format of the Money field |
| Дата | |
| Msg-id | 3A7EC362.32CDDA07@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | Re: Re: Format of the Money field (Karel Zak <zakkr@zf.jcu.cz>) |
| Список | pgsql-hackers |
> IMHO use numeric and some formatting routine is good idea (better than
> current money datetype..)
The "money" type implementation was a workaround/hack to make up for the
lack of a "numeric" type. I've always assumed that it would be removed
as soon as numeric was available and fast enough to meet the needs. At
the moment "money" uses a 32-bit integer for its implementation, which
is not adequate for most large financial applications.
At some point we might want to repackage "money" as a thin wrapper over
"numeric" which adds currency symbols etc.
- Thomas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера