From a1ccbb9019556aa8f8fa884702b19bd5f976c50d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 9 Jun 2004 13:11:34 +0000 Subject: [PATCH] Previous code cleanup was for bufpage.c, not bufmgr.c. This cleanup just cleans up a comment. --- src/backend/storage/page/bufpage.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/backend/storage/page/bufpage.c b/src/backend/storage/page/bufpage.c index ba35dd237a..7c1c31289c 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, -- 2.40.0