projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5863e
)
doc: Document factorial function
author
Peter Eisentraut
Mon, 15 Jun 2020 06:51:46 +0000
(08:51 +0200)
committer
Peter Eisentraut
Tue, 16 Jun 2020 03:04:33 +0000
(
05:04
+0200)
This has existed for a very long time, equivalent to the ! and !!
operators, but it was never documented.
Reviewed-by: Tom Lane
Discussion: https://www.postgresql.org/message-id/flat/
6ce1df0e
-86a3-e544-743a-
f357ff663f68
%402ndquadrant.com
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index b65aa28f344188eed0ebc97534c676abb919d42b..9d71678029eacc730c0b31a85201709f1c3ec950 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-1347,6
+1347,23
@@
repeat('Pg', 4)
PgPgPgPg
+
+
+
+
factorial
+
+
factorial
(
bigint
)
+
numeric
+
+
+ Factorial
+
+
+
factorial(5)
+
120
+
+
+