Re: [HACKERS] money data type and conversions

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] money data type and conversions
Date: 1999-06-23 01:58:06
Message-ID: 199906230158.VAA01801@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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 Thomas Lockhart 1999-06-23 02:04:59 Re: [HACKERS] money data type and conversions
Previous Message Thomas Lockhart 1999-06-23 01:52:20 Re: [HACKERS] money data type and conversions