Skip to content
Snippets Groups Projects
Commit c1458cc4 authored by Simon Riggs's avatar Simon Riggs
Browse files

Avoid marking buffer dirty when VACUUM has no work to do.

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.
parent f6438f66
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment