Re: [PATCHES] Fixes for MONEY type using locale

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Fixes for MONEY type using locale
Дата
Msg-id 8845.1196129988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Fixes for MONEY type using locale  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [PATCHES] Fixes for MONEY type using locale  ("Joshua D. Drake" <jd@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Table inheritance, unique constraints and foreign key problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Table inheritance, unique constraints and foreign key problem