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)
commit9ab5ed4194f3863ff744e195027da747d4db4106
treedef1e11c3a82fa2ebeac401165b12089d39c747d
parentf083afac9df707778288b9ab448be169a25e3ea6
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