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