Hi, As suggested in 5643125E.1030605@joh.to, here's a patch for extracting the scale out of a numeric. This is 2016-01 CF material, but if someone wants to bas^H^H^Hsay nice things in the meanwhile, feel free. .m
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных