Re: [COMMITTERS] 'pgsql/src/backend/utils Gen_fmgrtab.sh.in'

Started by Bruce Momjianabout 27 years ago1 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Update of /usr/local/cvsroot/pgsql/src/backend/utils
In directory hub.org:/tmp/cvs-serv11411/src/backend/utils

Modified Files:
Gen_fmgrtab.sh.in
Log Message:
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.

This is great. I think we get memory leaks from SQL functions too.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026