mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Re-pgindent vacuumlazy.c.
This commit is contained in:
parent
accf7616ff
commit
be060cbcd4
@ -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
|
* 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,
|
* flag is now set, also set the VM all-visible bit (and, if possible, the
|
||||||
* the all-frozen bit) unless this has already been done previously.
|
* all-frozen bit) unless this has already been done previously.
|
||||||
*/
|
*/
|
||||||
if (PageIsAllVisible(page))
|
if (PageIsAllVisible(page))
|
||||||
{
|
{
|
||||||
@ -1986,10 +1986,10 @@ heap_page_is_all_visible(Relation rel, Buffer buf,
|
|||||||
} /* scan along page */
|
} /* scan along page */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We don't bother clearing *all_frozen when the page is discovered not
|
* We don't bother clearing *all_frozen when the page is discovered not to
|
||||||
* to be all-visible, so do that now if necessary. The page might fail
|
* be all-visible, so do that now if necessary. The page might fail to be
|
||||||
* to be all-frozen for other reasons anyway, but if it's not all-visible,
|
* all-frozen for other reasons anyway, but if it's not all-visible, then
|
||||||
* then it definitely isn't all-frozen.
|
* it definitely isn't all-frozen.
|
||||||
*/
|
*/
|
||||||
if (!all_visible)
|
if (!all_visible)
|
||||||
*all_frozen = false;
|
*all_frozen = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user