]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Clean up syscache so that recursive invocation is safe, and remove error
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Nov 2000 00:33:12 +0000 (00:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Nov 2000 00:33:12 +0000 (00:33 +0000)
commitddeab225653680c0067d86b3eb4b969126bd68ee
tree67fef9f8d422efe38530397faf2a7f2fa829cc99
parent700032ad6f0d8e4f429918fbc8d69439c7ebfbe3
Clean up syscache so that recursive invocation is safe, and remove error
message about recursive use of a syscache.  Also remove most of the
specialized indexscan routines in indexing.c --- it turns out that
catcache.c is perfectly able to perform the indexscan for itself,
in fact has already looked up all the information needed to do so!
This should be faster as well as needing far less boilerplate code.
src/backend/access/transam/xact.c
src/backend/catalog/indexing.c
src/backend/utils/cache/catcache.c
src/backend/utils/cache/relcache.c
src/backend/utils/cache/syscache.c
src/include/catalog/indexing.h
src/include/utils/catcache.h