Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a1ccbb9

Browse files
committed
Previous code cleanup was for bufpage.c, not bufmgr.c.
This cleanup just cleans up a comment.
1 parent 69616f9 commit a1ccbb9

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/backend/storage/page/bufpage.c

+11-13
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(Page page,

0 commit comments

Comments
 (0)