View Single Post

   
  #6 (permalink)  
Old 04-15-2008, 11:34 PM
Peter Eisentraut
 
Posts: n/a
Default Re: [PATCHES] Fixes for MONEY type using locale

Tom Lane wrote:
> Aside from the semantic-gap issue, there is the point that providing
> a cast might actually mask application errors. *I can well imagine
> cases where one of the reasons for using MONEY is *exactly* that it's
> not a plain number or easily convertible to one.


I'm always against casts, but I can hardly object to an explicit cast between
money and numeric.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote