Re: Money casting too liberal?

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Money casting too liberal?
Дата
Msg-id 1364873377.7580.332.camel@sussancws0025
обсуждение исходный текст
Ответ на Re: Money casting too liberal?  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Список pgsql-general
On Sat, 2013-03-30 at 09:52 -0400, D'Arcy J.M. Cain wrote:
> That's why I suggested that operations between money(2) and money(3)
> should raise an error.  Treat them as distinct types.

I don't think typmod is currently powerful enough to do that. It's lost
in many different types of expressions. Offhand, I don't even know of a
way to preserve the typmod through even a simple function.

Regards,
    Jeff Davis




В списке pgsql-general по дате отправления:

Предыдущее
От: Julian
Дата:
Сообщение: Re: Using varchar primary keys.
Следующее
От: Juan Pablo Cook
Дата:
Сообщение: Trigger of Transaction