pgsql-server/src backend/access/hash/hashinser ...
pgsql-server/src backend/access/hash/hashinser ...
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql-server Changes by: tgl@svr1.postgresql.org 03/09/01 17:26:34 Modified files: src/backend/access/hash: hashinsert.c hashovfl.c hashpage.c src/include/access: hash.h Log message: 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.