Re: Money type todos?

From: db(at)zigo(dot)dhs(dot)org
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Money type todos?
Date: 2007-03-21 08:08:44
Message-ID: 2413.192.121.104.112.1174464524.squirrel@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Dennis Bjorklund <db(at)zigo(dot)dhs(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2007-03-21 08:46:54 Re: Effects of GUC settings on automatic replans
Previous Message Tom Lane 2007-03-21 06:31:44 Re: Money type todos?