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

Commitb8b3a27

Browse files
Remove obsolete nbtree page deletion comment.
Commitefada2b, which made the nbtree page deletion algorithm morerobust, removed the concept of a half-dead internal page. Remove acomment about half dead parent pages that was overlooked.
1 parentda1b51e commitb8b3a27

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎src/backend/access/nbtree/nbtpage.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,9 +1930,6 @@ _bt_unlink_halfdead_page(Relation rel, Buffer leafbuf, bool *rightsib_empty)
19301930
* might be possible to push the fast root even further down, but the odds
19311931
* of doing so are slim, and the locking considerations daunting.)
19321932
*
1933-
* We don't support handling this in the case where the parent is becoming
1934-
* half-dead, even though it theoretically could occur.
1935-
*
19361933
* We can safely acquire a lock on the metapage here --- see comments for
19371934
* _bt_newroot().
19381935
*/

‎src/backend/access/nbtree/nbtutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ _bt_check_natts(Relation rel, bool heapkeyspace, Page page, OffsetNumber offnum)
23882388
inttupnatts;
23892389

23902390
/*
2391-
* We cannot reliably test a deleted or half-deleted page, since they have
2391+
* We cannot reliably test a deleted or half-dead page, since they have
23922392
* dummy high keys
23932393
*/
23942394
if (P_IGNORE(opaque))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp