Re: [PATCHES] Fixes for MONEY type using locale

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Subject: Re: [PATCHES] Fixes for MONEY type using locale
Date: 2007-11-27 07:33:39
Message-ID: 200711270833.40799.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2007-11-27 08:08:56 Re: [PATCHES] Proposed patch for operator lookup caching
Previous Message Peter Eisentraut 2007-11-27 07:30:48 Re: Locating sharedir in PostgreSQL on Windows

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2007-11-27 08:08:56 Re: [PATCHES] Proposed patch for operator lookup caching
Previous Message Michael Paesold 2007-11-27 07:20:43 Re: [PATCHES] Proposed patch for operator lookup caching