Re: [HACKERS] money data type and conversions

Поиск
Список
Период
Сортировка
От Duane Currie
Тема Re: [HACKERS] money data type and conversions
Дата
Msg-id 199906222003.RAA05047@sandman.acadiau.ca
обсуждение исходный текст
Ответ на Re: [HACKERS] money data type and conversions  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] money data type and conversions
Список pgsql-hackers
Bruce,

TODO almost done:

I have three files which implement two functions to convert from 
money to integer and from integer to money.  Tested it out... works

Who should I send these to to have the changes applied to a later release?

Thanx,
Duane


> > Thus spake Bruce Momjian
> > > Can someone explain why our money type in 6.5 requires quotes, and why
> > > there is no int() function for it?
> > 
> > Good question.  I wonder if #2 is the answer to #1.
> > 
> 
> Added to TODO:
> 
>   * Money type requires quotes for input, and no coversion functions
> 
> -- 
>   Bruce Momjian                        |  http://www.op.net/~candle
>   maillist@candle.pha.pa.us            |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] The dangers of "-F"
Следующее
От: jimsmith@aol.com
Дата:
Сообщение: CERTIFIED GIFTED PSYCHICS