Re: [HACKERS] money data type and conversions

From: Duane Currie <dcurrie(at)sandman(dot)acadiau(dot)ca>
To: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] money data type and conversions
Date: 1999-06-22 20:03:56
Message-ID: 199906222003.RAA05047@sandman.acadiau.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1999-06-22 21:02:03 RE: [HACKERS] money data type and conversions
Previous Message jimsmith 1999-06-22 19:18:10 CERTIFIED GIFTED PSYCHICS