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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Allow numeric_fac() to be interrupted, since it can take quite a
Date
Msg-id 20070609155248.040A49FB28D@postgresql.org
Whole thread Raw
List 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_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        numeric.c (r1.86.2.1 -> r1.86.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c.diff?r1=1.86.2.1&r2=1.86.2.2)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allow numeric_fac() to be interrupted, since it can take quite a
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allow numeric_fac() to be interrupted, since it can take quite a