From 327d900b5138992a0ef6829b92c48c2343aa0217 Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Fri, 18 Oct 1996 07:43:43 +0000 Subject: [PATCH] Move #define PageIsNew (true if page is not initialize) to bufpage.h --- src/backend/access/heap/hio.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c index 457e1174a3..8a95749c15 100644 --- a/src/backend/access/heap/hio.c +++ b/src/backend/access/heap/hio.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Id: hio.c,v 1.1.1.1 1996/07/09 06:21:11 scrappy Exp $ + * $Id: hio.c,v 1.2 1996/10/18 07:43:43 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -93,13 +93,6 @@ RelationPutHeapTuple(Relation relation, ItemPointerSet(&tuple->t_ctid, blockIndex, offnum); } -/* - * The heap_insert routines "know" that a buffer page is initialized to - * zero when a BlockExtend operation is performed. - */ - -#define PageIsNew(page) ((page)->pd_upper == 0) - /* * This routine is another in the series of attempts to reduce the number * of I/O's and system calls executed in the various benchmarks. In -- 2.40.0