Re: How useful is the money datatype? - Mailing list pgsql-general

From John R Pierce
Subject Re: How useful is the money datatype?
Date
Msg-id 4ACA8E93.1010508@hogranch.com
Whole thread Raw
In response to Re: How useful is the money datatype?  (Guy Rouillier <guyr-ml1@burntmail.com>)
List 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 by date:

Previous
From: Guy Rouillier
Date:
Subject: Re: How useful is the money datatype?
Next
From: Tom Lane
Date:
Subject: Re: ERROR: column "id" inherits conflicting default values