Re: Money type todos?

Поиск
Список
Период
Сортировка
От db@zigo.dhs.org
Тема Re: Money type todos?
Дата
Msg-id 2413.192.121.104.112.1174464524.squirrel@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Money type todos?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Effects of GUC settings on automatic replans
Следующее
От: "Dany DeBontridder"
Дата:
Сообщение: Re: Patch for pg_dump