Re: Decimal64 and Decimal128

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Feng Tian <ftian(at)vitessedata(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Decimal64 and Decimal128
Date: 2015-09-24 20:35:19
Message-ID: CAM3SWZTTzE1X0z4euJ-xkeQX913YgE8F47c7uCHum35zUk=W-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 24, 2015 at 1:29 PM, Feng Tian <ftian(at)vitessedata(dot)com> wrote:
> Here is an extension for 64 and 128 bit decimal types using IEEE decimal
> floating point. The original idea/implementation is from
> http://pgxn.org/dist/pgdecimal/1.0.0/

Interesting. A default B-Tree operator class for the decimal types
would be nice.

I would worry about the implicit casts you've added. They might cause problems.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-09-24 20:53:06 Re: Decimal64 and Decimal128
Previous Message Feng Tian 2015-09-24 20:31:13 Re: Decimal64 and Decimal128