• Simon Riggs's avatar
    Avoid marking buffer dirty when VACUUM has no work to do. · c1458cc4
    Simon Riggs authored
    When wal_level = 'hot_standby' we touched the last page of the
    relation during a VACUUM, even if nothing else had happened.
    That would alter the LSN of the last block and set the mtime
    of the relation file unnecessarily. Noted by Thom Brown.
    c1458cc4
nbtpage.c 45.5 KB