]> granicus.if.org Git - postgresql/commit
Clean up non-reentrant interface for hash_seq/HashTableWalk, so that
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Jan 2001 04:33:24 +0000 (04:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Jan 2001 04:33:24 +0000 (04:33 +0000)
commit1b8a219eefb9235f0fdc8ebc2afb6887932dce02
tree43c737a565c2f2b3fde74e5507104f8d6d96a49a
parent25d88e4c53e4249f3ba033d7f1b424396c5b65b0
Clean up non-reentrant interface for hash_seq/HashTableWalk, so that
starting a new hashtable search no longer clobbers any other search
active anywhere in the system.  Fix RelationCacheInvalidate() so that
it will not crash or go into an infinite loop if invoked recursively,
as for example by a second SI Reset message arriving while we are still
processing a prior one.
src/backend/access/transam/xlogutils.c
src/backend/lib/hasht.c
src/backend/storage/lmgr/lock.c
src/backend/utils/cache/relcache.c
src/backend/utils/hash/dynahash.c
src/backend/utils/mmgr/portalmem.c
src/include/lib/hasht.h
src/include/utils/hsearch.h