pgsql/src/backend/storage/buffer (bufmgr.c)

From: Tom Lane <tgl(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/storage/buffer (bufmgr.c)
Date: 2000-10-22 20:20:50
Message-ID: 200010222020.e9MKKoC09430@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Sunday, October 22, 2000 @ 16:20:49
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/storage/buffer
from hub.org:/home/projects/pgsql/tmp/cvs-serv9419

Modified Files:
bufmgr.c

----------------------------- Log Message -----------------------------

Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers
and DropBuffers. Formerly we cleared the flag for each buffer currently
belonging to the target rel or database, but that's completely wrong!
Must look at BufferTagLastDirtied to see whether the BufferDirtiedByMe
flag is relevant to target rel or not; this is *independent* of the
current contents of the buffer. Vadim spotted this problem, but his
fix was only partially correct...

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-10-22 20:33:22 REL7_0_PATCHES pgsql/src/backend/storage/buffer (bufmgr.c)
Previous Message Tom Lane 2000-10-22 19:49:46 pgsql/src/backend/commands (vacuum.c)