Re: Bug #534: factorial function

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, j(dot)richter(at)wallstreet-develop(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #534: factorial function
Date: 2001-12-10 16:28:11
Message-ID: 3C14E29B.B339B9BA@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-12-10 16:37:44 Re: Bug #534: factorial function
Previous Message Janko F. Richter 2001-12-10 15:34:10 Re: Bug #534: factorial function