git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 74d4608) | patch
Remove factorial operators, leaving only the factorial() function.
2020年9月17日 20:17:27 +0000 (16:17 -0400)
2020年9月17日 20:17:27 +0000 (16:17 -0400)
commit 76f412ab310554acb970a0b73c8d1f37f35548c6
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
contrib/postgres_fdw/expected/postgres_fdw.out diff | blob | blame | history
contrib/postgres_fdw/sql/postgres_fdw.sql diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_operator.dat diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/test/regress/expected/create_operator.out diff | blob | blame | history
src/test/regress/expected/numeric.out diff | blob | blame | history
src/test/regress/sql/create_operator.sql diff | blob | blame | history
src/test/regress/sql/numeric.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /