Re: [HACKERS] Decimal64 and Decimal128

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, David Fetter <david(at)fetter(dot)org>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Feng Tian <ftian(at)vitessedata(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Decimal64 and Decimal128
Date: 2018-11-13 01:16:36
Message-ID: CAFj8pRB=VHKdctYTOWqOgGu=zEWCCf_R67BuYCNL0WZQXgx+ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

út 13. 11. 2018 v 0:55 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:

> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2018-11-13 00:01:49 +0100, David Fetter wrote:
> >> So if this got added to a lot of compilers, that might suffice.
>
> > No, unless those compiler versions will automatically be available in
> > older distros. Which they won't.
>
> Yeah. I think putting this in core is a long way off. Maybe somebody
> will write an extension instead.
>

It is exists already https://github.com/okbob/pgDecimal - it is just
experimental

Maybe this code can be more interesting due JIT support.

Regards

Pavel

> regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-11-13 01:17:29 Re: Restore CurrentUserId only if 'prevUser' is valid when abort transaction
Previous Message Yotsunaga, Naoki 2018-11-13 00:47:11 RE: [Proposal] Add accumulated statistics