View Single Post

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

Bruce Momjian <bruce@momjian.us> writes:
> Added to TODO list:
> * Allow MONEY to be cast to/from other numeric data types


So in other words, that's been added to the TODO list *purely* on your
own say-so, and not because any users asked for it or anyone else thinks
it's a good idea.

Since MONEY really ought to be considered a tagged type, I'm not at all
impressed with the idea that there should be default casts between it
and plain numerics. There's a fundamental semantic gap there.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote