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:39
Message-ID: 20070609155239.83FA89FB28D@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_2_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
numeric.c (r1.96 -> r1.96.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c.diff?r1=1.96&r2=1.96.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-06-09 15:52:48 pgsql: Allow numeric_fac() to be interrupted, since it can take quite a
Previous Message Tom Lane 2007-06-09 15:52:30 pgsql: Allow numeric_fac() to be interrupted, since it can take quite a