Skip to content

Commit 325bc54

Browse files
Adjust VACUUM hastup LP_REDIRECT comments.
The term "truncation" has been ambiguous since commit 10a8d13 added line pointer array truncation during heap pruning. Clear things up by specifying that we're talking about rel truncation here, to match nearby comments that apply to tuples with storage.
1 parent 6daeeb1 commit 325bc54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/access/heap/vacuumlazy.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,8 @@ lazy_scan_prune(LVRelState *vacrel,
15951595
/* Redirect items mustn't be touched */
15961596
if (ItemIdIsRedirected(itemid))
15971597
{
1598-
prunestate->hastup = true; /* page won't be truncatable */
1598+
/* page makes rel truncation unsafe */
1599+
prunestate->hastup = true;
15991600
continue;
16001601
}
16011602

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