Re: Decimal64 and Decimal128

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>
Cc: Peter Geoghegan <pg(at)heroku(dot)com>, Feng Tian <ftian(at)vitessedata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Decimal64 and Decimal128
Date: 2015-09-25 05:06:21
Message-ID: CAFj8pRDaLwwnv3sTnz=prD5QBAqf9LpWJcg-EmNv72FE1CL+MA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2015-09-25 0:25 GMT+02:00 Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>:

> On 9/24/15 3:35 PM, Peter Geoghegan wrote:
>
>> I would worry about the implicit casts you've added. They might cause
>> problems.
>>
>
> Given the cycle created between numeric->decimal and decimal->numeric, I
> can pretty much guarantee they will. In any case, I don't think implicit
> casting from numeric->decimal is a good idea since it can overflow. I'm not
> sure that the other direction is safe either... I can't remember offhand if
> casting correctly obeys typmod or not.
>
> BTW, have you talked to Pavel about making these changes to his code?
> Seems a shame to needlessly fork it. :/
>

yes, he talked with me, and I gave a agreement to continue/enhance/fork
this project how will be necessary

Regards

Pavel

> --
> Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
> Experts in Analytics, Data Architecture and PostgreSQL
> Data in Trouble? Get it in Treble! http://BlueTreble.com
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeevan Chalke 2015-09-25 05:27:16 Re: TEXT vs VARCHAR join qual push down diffrence, bug or expected?
Previous Message Amit Kapila 2015-09-25 04:55:36 Re: Parallel Seq Scan