Re: How useful is the money datatype?

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: How useful is the money datatype?
Дата
Msg-id 95EDE128-E5CF-490B-AB6D-CAC4E004A249@thebuild.com
обсуждение исходный текст
Ответ на Re: How useful is the money datatype?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: How useful is the money datatype?  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
A quick check of the source code (src/backend/utils/adt/numeric.c)
shows it's base 10000, each "digit" represented as an int16.  It's not
strictly speaking BCD, but there's no computational difference.

--
-- Christophe Pettus
    xof@thebuild.com


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: How useful is the money datatype?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Limit of bgwriter_lru_maxpages of max. 1000?