Use factorial rather than numeric_fac in create_operator.sql.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Sep 2020 22:03:44 +0000 (18:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Sep 2020 22:03:44 +0000 (18:03 -0400)
commit760b8fe766bce62fa00fb22dc60315418288a1a8
treedb6db21f9eff535b565ef6d5ab9cba0ec9dba940
parent6a7a5fce9a7421cc0e07341921787f55a814249b
Use factorial rather than numeric_fac in create_operator.sql.

These two SQL functions are aliases for the same C function, so this
change has no semantic effect.  However, because we dropped the
numeric_fac alias in HEAD (commit 76f412ab3), operator definitions
based on that one don't port forward, causing problems for cross-version
upgrade tests based on the regression database.

Patch all active back branches to dodge the problem.

Discussion: https://postgr.es/m/449144.1600439950@sss.pgh.pa.us
src/test/regress/expected/create_operator.out
src/test/regress/sql/create_operator.sql