Re: New version of money type - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New version of money type
Date
Msg-id 9633.1159502878@sss.pgh.pa.us
Whole thread Raw
In response to Re: New version of money type  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
"Jim C. Nasby" <jim@nasby.net> writes:
> I think it's also important to protect for the possibility of a more
> complete (and probably incompatible) type in the future, such as one
> that stores what currency a value is in.

Well, such a type could be called "currency", "cash", "forex" or several
other possibilities, so I don't see any particular argument that "money"
has to be removed before something better can exist.  The tightrope that
D'Arcy has to walk is different: improving "money" without making it so
incompatible as to break existing apps that use it.

> Hrm... does ANSI say anything about money types?

No.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: New version of money type
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Another idea for dealing with cmin/cmax