Modify fmgr so that internal name (compiler name) of a built-in
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Mar 1999 01:30:45 +0000 (01:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Mar 1999 01:30:45 +0000 (01:30 +0000)
commit73785237ad80744a7b4896043ae570b1ad479da7
tree64d6fef9d2f0949b4223ee987fc0446b683b0e46
parent38987fa46f2bcbd7a2d179d706b75f03e9c0fd5f
Modify fmgr so that internal name (compiler name) of a built-in
function is found in prosrc field of pg_proc, not proname.  This allows
multiple aliases of a built-in to all be implemented as direct builtins,
without needing a level of indirection through an SQL function.  Replace
existing SQL alias functions with builtin entries accordingly.
Save a few K by not storing string names of builtin functions in fmgr's
internal table (if you really want 'em, get 'em from pg_proc...).
Update opr_sanity with a few more cross-checks.
src/backend/utils/Gen_fmgrtab.sh.in
src/backend/utils/fmgr/fmgr.c
src/include/catalog/pg_proc.h
src/include/utils/fmgrtab.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql