Re: Bug #534: factorial function

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Bug #534: factorial function
Дата
Msg-id 3C14E29B.B339B9BA@fourpalms.org
обсуждение исходный текст
Ответ на Re: Bug #534: factorial function  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Bug #534: factorial function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> ... I'd be sorely tempted to replace all three by a single
> function that takes integer and returns numeric.

Yikes. Although numeric is theoretically nice, it is hundreds of times
slower than native doubles. We've already moved it in to some of the
other aggregate math functions without much discussion of the
performance hit.

                    - Thomas

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #534: factorial function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #534: factorial function