Re: [PATCHES] Fixes for MONEY type using locale - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] Fixes for MONEY type using locale
Date
Msg-id 200711270833.40799.peter_e@gmx.net
Whole thread Raw
In response to Re: [PATCHES] Fixes for MONEY type using locale  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Locating sharedir in PostgreSQL on Windows
Next
From: "John Walker"
Date:
Subject: developing for psqlodbc