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)
commita950fb0734267ebdc48e3a03b234b42f81135a9e
tree8930c3648e98d37434284d6d4181a4c7fded0c21
parentfcc3665a03a644204d0a3fdf8ec138e3ec93e593
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