Skip to content

Commit e9b873f

Browse files
vacuumlazy.c: fix "garbage tuples" reference.
Another minor oversight in commit 4f8d9d1.
1 parent 6b94e7a commit e9b873f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/backend/access/heap/vacuumlazy.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,13 @@ lazy_scan_prune(LVRelState *vacrel,
18981898
}
18991899

19001900
/*
1901-
* Remove the collected garbage tuples from the table and its indexes.
1901+
* Main entry point for index vacuuming and heap vacuuming.
1902+
*
1903+
* Removes items collected in dead_items from table's indexes, then marks the
1904+
* same items LP_UNUSED in the heap. See the comments above lazy_scan_heap
1905+
* for full details.
1906+
*
1907+
* Also empties dead_items, freeing up space for later TIDs.
19021908
*
19031909
* We may choose to bypass index vacuuming at this point, though only when the
19041910
* ongoing VACUUM operation will definitely only have one index scan/round of

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy