CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 01/10/06 19:21:45
Modified files:
src/backend/access/common: scankey.c
src/backend/access/gist: gist.c
src/backend/access/hash: hashutil.c
src/backend/access/index: indexam.c istrat.c
src/backend/access/nbtree: nbtsearch.c nbtutils.c
src/backend/access/rtree: rtree.c
src/backend/catalog: heap.c index.c pg_proc.c
src/backend/utils/adt: ri_triggers.c varbit.c varchar.c
src/backend/utils/cache: Makefile catcache.c fcache.c relcache.c
src/backend/utils/fmgr: dfmgr.c fmgr.c
src/include/access: genam.h skey.h
src/include/catalog: index.h
src/include : fmgr.h
src/include/utils: rel.h relcache.h
src/pl/plperl : plperl.c
src/pl/plpgsql/src: pl_comp.c
src/pl/plpython: plpython.c
src/pl/tcl : pltcl.c
Removed files:
src/backend/utils/cache: rel.c
Log message:
Rearrange fmgr.c and relcache so that it's possible to keep FmgrInfo
lookup info in the relcache for index access method support functions.
This makes a huge difference for dynamically loaded support functions,
and should save a few cycles even for built-in ones. Also tweak dfmgr.c
so that load_external_function is called only once, not twice, when
doing fmgr_info for a dynamically loaded function. All per performance
gripe from Teodor Sigaev, 5-Oct-01.