Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit325bc54

Browse files
Adjust VACUUM hastup LP_REDIRECT comments.
The term "truncation" has been ambiguous since commit10a8d13 addedline pointer array truncation during heap pruning. Clear things up byspecifying that we're talking about rel truncation here, to match nearbycomments that apply to tuples with storage.
1 parent6daeeb1 commit325bc54

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)

[8]ページ先頭

©2009-2025 Movatter.jp