Re: WIP: rewrite numeric division

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Michael Paesold" <mpaesold(at)gmx(dot)at>, "Bruce Momjian" <bruce(at)momjian(dot)us>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: WIP: rewrite numeric division
Date: 2007-07-17 15:52:59
Message-ID: 87bqebrpr8.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Michael Paesold <mpaesold(at)gmx(dot)at> writes:
>> Please, let's revisit this, and not postpone it without further
>> discussion. I never knew about the correctness issues in div_var(), but
>> since I know about it, I feel I am just waiting until that problem will
>> hit me or anyone else.
>
> Yeah. I was basically waiting to see if anyone could come up with a
> faster solution. Since no one seems to have an idea how to do it
> better, I'm inclined to apply the patch for 8.3.

My only reservation is that I don't have the numeric methods background to
tell if it's really necessary. My fix does resolve the only actual documented
inaccuracy in the existing method.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-07-17 16:00:04 Re: WIP: rewrite numeric division
Previous Message Tom Lane 2007-07-17 15:52:31 Re: Deferred RI trigger for non-key UPDATEs and subxacts