ladayaroslav(at)yandex(dot)ru writes:> The scale() function return type is actually integer, not numeric.
Good catch, will fix.
regards, tom lane