Re: [PATCHES] Fixes for MONEY type using locale

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Fixes for MONEY type using locale
Date: 2007-11-27 02:19:48
Message-ID: 8845.1196129988@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-11-27 02:30:05 Re: Table inheritance, unique constraints and foreign key problem
Previous Message Tom Lane 2007-11-27 02:13:46 Proposed patch for operator lookup caching

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2007-11-27 02:42:39 Re: [PATCHES] Fixes for MONEY type using locale
Previous Message Tom Lane 2007-11-27 02:13:46 Proposed patch for operator lookup caching