Re: Money type todos? - Mailing list pgsql-hackers

From db@zigo.dhs.org
Subject Re: Money type todos?
Date
Msg-id 2413.192.121.104.112.1174464524.squirrel@zigo.dhs.org
Whole thread Raw
In response to Re: Money type todos?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Dennis Bjorklund <db@zigo.dhs.org> writes:

>> What is the reason to keep it?
>
> The words-of-one-syllable answer is that D'Arcy Cain is still willing
> to put work into supporting the money type, and if it still gets the
> job done for him then it probably gets the job done for some other
> people too.
>
> Personally, as a former currency trader I've not seen any proposals on
> this list for a "money" type that I'd consider 100% feature complete.
> The unit-identification part of it is interesting, but pales into
> insignificance compared to the problem that the unit values vary
> constantly

The unit (currency) part is what I don't like about the money type.

To have a fast and size limited fixed point type is something I think is
good. It could very well be called money if we want to or we can give it a
more neutral name.

/Dennis



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Effects of GUC settings on automatic replans
Next
From: "Dany DeBontridder"
Date:
Subject: Re: Patch for pg_dump