Re: [HACKERS] money data type and conversions - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] money data type and conversions
Date
Msg-id 199906230158.VAA01801@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] money data type and conversions  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Responses Re: [HACKERS] money data type and conversions
List pgsql-hackers
> > > > 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
> 
> And while you are at it, add one more entry:
> 
>     * Remove money type

Added to TODO:
* Remove Money type and make synonym for decimal(x,2)

What about the printing of currency symbol?


--  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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] money data type and conversions
Next
From: Bruce Momjian
Date:
Subject: BeOS