Re: Add scale(numeric)

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Marko Tiikkaja <marko(at)joh(dot)to>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add scale(numeric)
Date: 2016-01-05 22:04:30
Message-ID: 20160105220430.GA342103@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule wrote:
> Hi
>
> 2015-11-19 3:27 GMT+01:00 Marko Tiikkaja <marko(at)joh(dot)to>:
>
> > Hi,
> >
> > As suggested in 5643125E(dot)1030605(at)joh(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2016-01-05 22:32:02 Re: No Issue Tracker - Say it Ain't So!
Previous Message Tom Lane 2016-01-05 21:57:48 Re: pg_conversion seems rather strangely defined