Marko Mikulicic <marko(at)seul(dot)org> writes:
> The code in cash.c should be cleaned up completely
Such criticism is best expressed in the form of a patch ;-)
Note though that most of us think the current money type is a kluge
anyway; anything based on int4 storage doesn't have enough significant
digits. It would be better rewritten as a thin locale-aware veneer
over type "numeric".
regards, tom lane