You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers
and DropBuffers. Formerly we cleared the flag for each buffer currentlybelonging to the target rel or database, but that's completely wrong!Must look at BufferTagLastDirtied to see whether the BufferDirtiedByMeflag is relevant to target rel or not; this is *independent* of thecurrent contents of the buffer. Vadim spotted this problem, but hisfix was only partially correct...