Re: Money casting too liberal?
| От | John R Pierce |
|---|---|
| Тема | Re: Money casting too liberal? |
| Дата | |
| Msg-id | 5154B7C4.5020401@hogranch.com обсуждение исходный текст |
| Ответ на | Re: Money casting too liberal? ("D'Arcy J.M. Cain" <darcy@druid.net>) |
| Ответы |
Re: Money casting too liberal?
|
| Список | pgsql-general |
On 3/28/2013 2:13 PM, D'Arcy J.M. Cain wrote: > I would have rather made that part of the column definition similar to > how we create timestamps with or without timezones. If a column is > tracking Yen it should always be Yen. Y10,000 should never display as > $100.00 just because the locale changes. or to another extreme, part of the data, such that different rows could have different monetary units. (eg, money is implemented as a pair (currency,amount). eeek, then you'd need exchange rate tables and such. hahahahaha, what a nightmare. -- john r pierce 37N 122W somewhere on the middle of the left coast
В списке pgsql-general по дате отправления: