]> granicus.if.org Git - postgresql/commit
Several fixes for hash indexes that involve changing the on-disk index
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Sep 2003 18:13:32 +0000 (18:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Sep 2003 18:13:32 +0000 (18:13 +0000)
commitd70610c4eec6f6b7ca332086fdd9c91871a4718d
tree4f61c67edf995d832789b9295149286e331acb6b
parent8b2450c831df5c28bb20d10d2a023ecf2349ee5b
Several fixes for hash indexes that involve changing the on-disk index
layout; therefore, this change forces REINDEX of hash indexes (though
not a full initdb).  Widen hashm_ntuples to double so that hash space
management doesn't get confused by more than 4G entries; enlarge the
allowed number of free-space-bitmap pages; replace the useless bshift
field with a useful bmshift field; eliminate 4 bytes of wasted space
in the per-page special area.
src/backend/access/hash/hash.c
src/backend/access/hash/hashinsert.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