From 76f412ab310554acb970a0b73c8d1f37f35548c6 Mon Sep 17 00:00:00 2001
From: Tom Lane
Date: Thu, 17 Sep 2020 16:17:27 -0400
Subject: Remove factorial operators, leaving only the factorial() function.
The "!" operator is our only built-in postfix operator. Remove it,
on the way to removal of grammar support for postfix operators.
There is also a "!!" prefix operator, but since it's been marked
deprecated for most of its existence, we might as well remove it too.
Also zap the SQL alias function numeric_fac(), which seems to have
equally little reason to live.
Mark Dilger, based on work by myself and Robert Haas;
review by John Naylor
Discussion: https://postgr.es/m/38ca86db-42ab-9b48-2902-337a0d6b8311@2ndquadrant.com
---
doc/src/sgml/func.sgml | 30 ------------------------------
1 file changed, 30 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index e2e618791ee..d6283a35d84 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1048,36 +1048,6 @@ repeat('Pg', 4) PgPgPgPg
-
-
- bigint!
- numeric
-
-
- Factorial
- (deprecated, use factorial() instead)
-
-
- 5 !
- 120
-
-
-
-
-
- !!bigint
- numeric
-
-
- Factorial as a prefix operator
- (deprecated, use factorial() instead)
-
-
- !! 5
- 120
-
-
-
@numeric_type
--
cgit v1.2.3