Re: dividing money by money

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Re: dividing money by money
Дата
Msg-id 4BB1B412.4030705@cybertec.at
обсуждение исходный текст
Ответ на Re: dividing money by money  (John R Pierce <pierce@hogranch.com>)
Список pgsql-bugs
John R Pierce írta:
> Boszormenyi Zoltan wrote:
>> Loading this dump into another database that happens
>> to have a different locale than hu_HU fails.
>>
>> But then any operator between two money values would
>> only work if both values have the same currency.
>>
>
> indeed, its all a big tarpit.  next, you'll want currency conversion
> tables.  and, are there still any currenccies like old style UK where
> the subunits aren't 100ths?   schillings or whatever

Yeah, and we could also switch PG numeric type to base 12
to count in dozens or base 60 to deal with the mayan calendar...  ;-)

--
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: dividing money by money
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: dividing money by money