Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

bufmgr.c

Blame
    • Tom Lane's avatar
      3c5d0007
      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
      History
      Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers
      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...