Re: How useful is the money datatype?

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: How useful is the money datatype?
Дата
Msg-id db471ace0910030343o1a899ef8h5d823ea3ebbf7564@mail.gmail.com
обсуждение исходный текст
Ответ на How useful is the money datatype?  (Thom Brown <thombrown@gmail.com>)
Ответы Re: How useful is the money datatype?  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: How useful is the money datatype?  (Thom Brown <thombrown@gmail.com>)
Список pgsql-general
Hi Thom,

Here's how I represent currency values:

CREATE DOMAIN currency
  AS numeric(10,2);


I understand money has been deprecated. It has one obvious flaw that I
can think of: It cannot represent different currencies in different
tuples, with a currency_id field.

Regards,
Peter Geoghegan

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: How useful is the money datatype?
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: How useful is the money datatype?