Обсуждение: pgsql: Allow numeric_fac() to be interrupted, since it can take quite a

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        numeric.c (r1.103 -> r1.104)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c.diff?r1=1.103&r2=1.104)