Missing increment of vacrelstats->pinskipped_pages

From: Jim Nasby <jim(at)nasby(dot)net>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Missing increment of vacrelstats->pinskipped_pages
Date: 2017-03-28 18:15:06
Message-ID: 61de5a80-2ffd-6b05-61e4-210fcb2998aa@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

lazy_vacuum_heap() does not count pages that it skips due to not
obtaining the buffer cleanup lock. vacuum_pinskipped.patch fixes that.
That should be backpatched to 9.5.

vacuum_comment.patch cleans up a comment in lazy_scan_heap().
--
Jim C. Nasby, Data Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net

Attachment Content-Type Size
vacuum_comment.patch text/plain 949 bytes
vacuum_pinskipped.patch text/plain 427 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-03-28 18:22:46 Re: Monitoring roles patch
Previous Message Andres Freund 2017-03-28 18:13:24 Re: Protection lost in expression eval changeover