1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-08 22:02:03 +03:00

Re-pgindent vacuumlazy.c.

This commit is contained in:
Robert Haas 2016-03-09 13:50:31 -05:00
parent accf7616ff
commit be060cbcd4

View File

@ -1345,8 +1345,8 @@ lazy_vacuum_page(Relation onerel, BlockNumber blkno, Buffer buffer,
/*
* All the changes to the heap page have been done. If the all-visible
* flag is now set, also set the VM all-visible bit (and, if possible,
* the all-frozen bit) unless this has already been done previously.
* flag is now set, also set the VM all-visible bit (and, if possible, the
* all-frozen bit) unless this has already been done previously.
*/
if (PageIsAllVisible(page))
{
@ -1986,10 +1986,10 @@ heap_page_is_all_visible(Relation rel, Buffer buf,
} /* scan along page */
/*
* We don't bother clearing *all_frozen when the page is discovered not
* to be all-visible, so do that now if necessary. The page might fail
* to be all-frozen for other reasons anyway, but if it's not all-visible,
* then it definitely isn't all-frozen.
* We don't bother clearing *all_frozen when the page is discovered not to
* be all-visible, so do that now if necessary. The page might fail to be
* all-frozen for other reasons anyway, but if it's not all-visible, then
* it definitely isn't all-frozen.
*/
if (!all_visible)
*all_frozen = false;