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

Commita451b7d

Browse files
Add nbtree page deletion assertion.
Add a documenting assertion that's similar to the nearby assertion addedby commitcd8c73a. This conveys that the entire call to _bt_pagedel()does no work if it isn't possible to get a descent stack for the initialscanblkno page.
1 parent9e49676 commita451b7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,7 @@ _bt_pagedel(Relation rel, Buffer leafbuf, TransactionId *oldestBtpoXact)
16971697
if (_bt_leftsib_splitflag(rel,leftsib,leafblkno))
16981698
{
16991699
ReleaseBuffer(leafbuf);
1700+
Assert(ndeleted==0);
17001701
returnndeleted;
17011702
}
17021703

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp