Re: factorial of negative numbers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: factorial of negative numbers
Date: 2020-06-15 14:24:22
Message-ID: 1122228.1592231062@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

... oh, one slightly more important nit-pick: per the catalogs and
code, the function is factorial(bigint):

Schema | Name | Result data type | Argument data types | Type
------------+-----------+------------------+---------------------+------
pg_catalog | factorial | numeric | bigint | func

but you have it documented as factorial(numeric).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-06-15 15:19:52 Re: hashagg slowdown due to spill changes
Previous Message Ashutosh Sharma 2020-06-15 14:11:03 Re: Parallel copy