Expand tests for factorial

Peter Eisentraut <peter@eisentraut.org>

Commit: 9d402c73ade412bdeb9064c81fc4ed071c4e93f8
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-06-18T06:41:31Z
Releases: 14.0
Expand tests for factorial

Move from int4 to numeric test.  (They were originally int4 functions,
but were reimplemented for numeric in
04a4821adef38155b7920ba9eb83c4c3c29156f8.)  Add some tests for edge
cases.

Discussion: https://www.postgresql.org/message-id/flat/6ce1df0e-86a3-e544-743a-f357ff663f68%402ndquadrant.com

Files

Discussion