pgsql: Allow numeric_fac() to be interrupted, since it can take quite a

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow numeric_fac() to be interrupted, since it can take quite a
Date: 2007-06-09 15:52:54
Message-ID: 20070609155254.447A09FB3BB@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow numeric_fac() to be interrupted, since it can take quite a while for
large inputs. Also cause it to error out immediately if the result will
overflow, instead of grinding through a lot of calculation first.
Per gripe from Jim Nasby.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
numeric.c (r1.81 -> r1.81.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c.diff?r1=1.81&r2=1.81.4.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Pgunittest 2007-06-09 17:01:29 pgunittest - pgUnitTest:
Previous Message Tom Lane 2007-06-09 15:52:48 pgsql: Allow numeric_fac() to be interrupted, since it can take quite a