]> granicus.if.org Git - postgresql/commit
Replace SearchSysCacheGetAttribute with SysCacheGetAttr, which fetches
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2000 03:43:24 +0000 (03:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2000 03:43:24 +0000 (03:43 +0000)
commit27fee810ff9968a1034fea4bba4cd8d078c5d2d1
tree24062ec2af7290f3d443e65c044c50e0ef1431be
parent1161077e9774496273999183eb29ea4b46d52f66
Replace SearchSysCacheGetAttribute with SysCacheGetAttr, which fetches
an attribute of a tuple previously fetched with SearchSysCacheTuple.
This avoids a lot of redundant cache lookups, particularly in selfuncs.c.
Also, remove SearchSysCacheStruct, which was unused and grotty.
src/backend/utils/adt/selfuncs.c
src/backend/utils/cache/fcache.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/cache/syscache.c
src/include/utils/syscache.h