aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/page/bufpage.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-06-09 13:11:34 +0000
committerBruce Momjian <bruce@momjian.us>2004-06-09 13:11:34 +0000
commita1ccbb9019556aa8f8fa884702b19bd5f976c50d (patch)
treeadc0671024f3eda1d4defc0586a57f43940cbdbb /src/backend/storage/page/bufpage.c
parent69616f96ecf11b97701f989633b8dbc43fd10987 (diff)
downloadpostgresql-a1ccbb9019556aa8f8fa884702b19bd5f976c50d.tar.gz
postgresql-a1ccbb9019556aa8f8fa884702b19bd5f976c50d.zip
Previous code cleanup was for bufpage.c, not bufmgr.c.
This cleanup just cleans up a comment.
Diffstat (limited to 'src/backend/storage/page/bufpage.c')
-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,