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

From Christophe Pettus
Subject Re: How useful is the money datatype?
Date
Msg-id 95EDE128-E5CF-490B-AB6D-CAC4E004A249@thebuild.com
Whole thread Raw
In response to Re: How useful is the money datatype?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: How useful is the money datatype?
List pgsql-general
A quick check of the source code (src/backend/utils/adt/numeric.c)
shows it's base 10000, each "digit" represented as an int16.  It's not
strictly speaking BCD, but there's no computational difference.

--
-- Christophe Pettus
    xof@thebuild.com


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: How useful is the money datatype?
Next
From: Greg Smith
Date:
Subject: Re: Limit of bgwriter_lru_maxpages of max. 1000?