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

Commita1ccbb9

Browse files
committed
Previous code cleanup was for bufpage.c, not bufmgr.c.
This cleanup just cleans up a comment.
1 parent69616f9 commita1ccbb9

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

‎src/backend/storage/page/bufpage.c

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.58 2004/06/08 14:00:35 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.59 2004/06/09 13:11:34 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -91,21 +91,19 @@ PageHeaderIsValid(PageHeader page)
9191
}
9292

9393

94-
/* ----------------
95-
*PageAddItem
96-
*
97-
*Add an item to a page.Return value is offset at which it was
98-
*inserted, or InvalidOffsetNumber if there's not room to insert.
94+
/*
95+
*PageAddItem
9996
*
100-
*If offsetNumber is valid and <= current max offset in the page,
101-
*insert item into the array at that position by shuffling ItemId's
102-
*down to make room.
103-
*If offsetNumber is not valid, then assign one by finding the first
104-
*one that is both unused and deallocated.
97+
*Add an item to a page.Return value is offset at which it was
98+
*inserted, or InvalidOffsetNumber if there's not room to insert.
10599
*
106-
* !!! EREPORT(ERROR) IS DISALLOWED HERE !!!
100+
*If offsetNumber is valid and <= current max offset in the page,
101+
*insert item into the array at that position by shuffling ItemId's
102+
*down to make room.
103+
*If offsetNumber is not valid, then assign one by finding the first
104+
*one that is both unused and deallocated.
107105
*
108-
* ----------------
106+
*!!! EREPORT(ERROR) IS DISALLOWED HERE !!!
109107
*/
110108
OffsetNumber
111109
PageAddItem(Pagepage,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp