• Tom Lane's avatar
    Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers · 3c5d0007
    Tom Lane authored
    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...
    3c5d0007
bufmgr.c 64.9 KB