]> granicus.if.org Git - postgresql/commit
Rewrite hashbulkdelete() to make it amenable to new bucket locking
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Sep 2003 02:18:38 +0000 (02:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Sep 2003 02:18:38 +0000 (02:18 +0000)
commit39673ca47b862f7bf82c9e3dca64ee9bbafc64ee
tree75bb1c4e44fb7cc5a79c989289544d6f60e4d426
parent5f65345a5711db5067664b08fb810b1a388b485d
Rewrite hashbulkdelete() to make it amenable to new bucket locking
scheme.  A pleasant side effect is that it is *much* faster when deleting
a large fraction of the indexed tuples, because of elimination of
redundant hash_step activity induced by hash_adjscans.  Various other
continuing code cleanup.
src/backend/access/hash/hash.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/backend/access/hash/hashsearch.c
src/backend/access/hash/hashutil.c
src/include/access/hash.h