]> granicus.if.org Git - postgresql/commit
Preliminary cleanup for hash index code (doesn't attack the locking problem
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Sep 2003 20:26:34 +0000 (20:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Sep 2003 20:26:34 +0000 (20:26 +0000)
commit65c2d427fb7436c314259778cf56551412cde730
tree444d38bce6ab1e281504cf7c110148fc75387f6b
parenteaeb8621f8cba39de0d3ee6c296ab22731b4a183
Preliminary cleanup for hash index code (doesn't attack the locking problem
yet).  Fix a couple of bugs that would only appear if multiple bitmap pages
are used, including a buffer reference leak and incorrect computation of bit
indexes.  Get rid of 'overflow address' concept, which accomplished nothing
except obfuscating the code and creating a risk of failure due to limited
range of offset field.  Rename some misleadingly-named fields and routines,
and improve documentation.
src/backend/access/hash/hashinsert.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/include/access/hash.h