aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/storage/page/bufpage.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/backend/storage/page/bufpage.c b/src/backend/storage/page/bufpage.c
index ba35dd237a7..7c1c31289c1 100644
--- a/src/backend/storage/page/bufpage.c
+++ b/src/backend/storage/page/bufpage.c
@@ -8,7 +8,7 @@
*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
@@ -91,21 +91,19 @@ PageHeaderIsValid(PageHeader page)
}
-/* ----------------
- * 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,