"Tom Lane" <tgl@sss.pgh.pa.us> writes:
> Michael Paesold <mpaesold@gmx.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