Re: [HACKERS] Money type display

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Money type display
Дата
Msg-id 199802271719.MAA10558@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Money type display  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: [HACKERS] Money type display
Список pgsql-hackers
> In fact, perhaps we should just turn the money code into the decimal
> type.  I understand we have a mechanism now for specifying an argument
> to the input and output functions so we can specify the precision of
> the decimal.  Is this correct?  If someone can help me out with the
> type specifications, I'll start creating the code to handle decimal
> types.  I'll just take the money code and modify it.

Yep, it's in there.  atttypmod is passed to all input/output function as
the third argument.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] HISTORY list for 6.3
Следующее
От: Bruce Momjian
Дата:
Сообщение: 6.3 Features