Re: Re: Format of the Money field - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Re: Format of the Money field
Date
Msg-id 3A7EC362.32CDDA07@alumni.caltech.edu
Whole thread Raw
In response to Re: Re: Format of the Money field  (Karel Zak <zakkr@zf.jcu.cz>)
List 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 by date:

Previous
From: dom@idealx.com, dom@idealx.com
Date:
Subject: Re: Ungraceful handling of fatal flex errors
Next
From: Mathieu Dube
Date:
Subject: 1024 limits??