Re: [PATCHES] Fixes for MONEY type using locale

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCHES] Fixes for MONEY type using locale
Дата
Msg-id 200711270833.40799.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: [PATCHES] Fixes for MONEY type using locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Locating sharedir in PostgreSQL on Windows
Следующее
От: "John Walker"
Дата:
Сообщение: developing for psqlodbc