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

From Tom Lane
Subject Re: [PATCHES] Fixes for MONEY type using locale
Date
Msg-id 8845.1196129988@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Fixes for MONEY type using locale  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [PATCHES] Fixes for MONEY type using locale
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Table inheritance, unique constraints and foreign key problem
Next
From: Tom Lane
Date:
Subject: Re: Table inheritance, unique constraints and foreign key problem