|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -91,21 +91,19 @@ PageHeaderIsValid(PageHeader page)
|
91 | 91 | }
|
92 | 92 |
|
93 | 93 |
|
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 |
99 | 96 | *
|
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. |
105 | 99 | *
|
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. |
107 | 105 | *
|
108 |
| - * ---------------- |
| 106 | + *!!! EREPORT(ERROR) IS DISALLOWED HERE !!! |
109 | 107 | */
|
110 | 108 | OffsetNumber
|
111 | 109 | PageAddItem(Pagepage,
|
|