postgresql/src/backend/storage
Tom Lane c9d8edc906 Repair bufmgr deadlock problem reported by Michael Wildpaner. Must take
share lock on a buffer being written out before releasing BufMgrLock in
the BufferAlloc code path; if we do it later we might block on someone
who's re-pinned the buffer.  I believe this is only an issue for BufferAlloc
and not the other places that call FlushBuffer.  BufferSync must continue
to do it the old way since it may well be trying to write buffers that
other backends have pinned; but it should not be holding any conflicting
locks.  FlushRelationBuffers is okay since it's got exclusive lock at the
relation level.
2005-01-03 18:49:41 +00:00
..
buffer Repair bufmgr deadlock problem reported by Michael Wildpaner. Must take 2005-01-03 18:49:41 +00:00
file Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
freespace Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
ipc Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
large_object Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
lmgr Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
page Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
smgr Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00