*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.58 2004/06/08 14:00:35 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/page/bufpage.c,v 1.59 2004/06/09 13:11:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
}
-/* ----------------
- * PageAddItem
- *
- * Add an item to a page. Return value is offset at which it was
- * inserted, or InvalidOffsetNumber if there's not room to insert.
+/*
+ * PageAddItem
*
- * If offsetNumber is valid and <= current max offset in the page,
- * insert item into the array at that position by shuffling ItemId's
- * down to make room.
- * If offsetNumber is not valid, then assign one by finding the first
- * one that is both unused and deallocated.
+ * Add an item to a page. Return value is offset at which it was
+ * inserted, or InvalidOffsetNumber if there's not room to insert.
*
- * !!! EREPORT(ERROR) IS DISALLOWED HERE !!!
+ * If offsetNumber is valid and <= current max offset in the page,
+ * insert item into the array at that position by shuffling ItemId's
+ * down to make room.
+ * If offsetNumber is not valid, then assign one by finding the first
+ * one that is both unused and deallocated.
*
- * ----------------
+ * !!! EREPORT(ERROR) IS DISALLOWED HERE !!!
*/
OffsetNumber
PageAddItem(Page page,