Re: How useful is the money datatype?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: How useful is the money datatype?
Дата
Msg-id 4ACA8E93.1010508@hogranch.com
обсуждение исходный текст
Ответ на Re: How useful is the money datatype?  (Guy Rouillier <guyr-ml1@burntmail.com>)
Список pgsql-general
Guy Rouillier wrote:
> The IBM implementation provided language libraries (usually COBOL)
> that also supported packed decimal, so precision was maintained
> throughout the entire application stack.
>

IBM 360/370/390/etcetc/Zsystem has BCD op codes in the instruction set
architecture.   microcoded of course, but they generally ran at the
memory bandwidth.

but, postgres's base 10000 'numeric' datatype is perfectly useful for
this.  high precision numeric divides are probably fugly, but for normal
business math, they perform quite nicely.




В списке pgsql-general по дате отправления:

Предыдущее
От: Guy Rouillier
Дата:
Сообщение: Re: How useful is the money datatype?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: column "id" inherits conflicting default values