Pavel Stehule wrote:
> Hi
>
> 2015-11-19 3:27 GMT+01:00 Marko Tiikkaja <marko@joh.to>:
>
> > 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.
> >
>
> This patch is pretty trivial without any possible issues, but I miss a use
> case of this feature.
>
> Why it should be in Postgres?
This was discussed in the original thread, and it seemed compelling
enough to me; there were no objections raised either. I couldn't find
any fault in the submitted patch, so pushed.
Thanks,
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services