CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 03/09/04 19:06:27
Modified files:
src/backend/access/hash: README hash.c hashinsert.c hashovfl.c
hashpage.c hashscan.c hashsearch.c
hashutil.c
src/backend/storage/lmgr: lmgr.c
src/include/access: hash.h
src/include/storage: lmgr.h
Log message:
Reimplement hash index locking algorithms, per my recent proposal to
pghackers. This fixes the problem recently reported by Markus Kr�utner
(hash bucket split corrupts the state of scans being done concurrently),
and I believe it also fixes all the known problems with deadlocks in
hash index operations. Hash indexes are still not really ready for prime
time (since they aren't WAL-logged), but this is a step forward.