]> granicus.if.org Git - postgresql/commitdiff
Move #define PageIsNew (true if page is not initialize) to bufpage.h
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 18 Oct 1996 07:43:43 +0000 (07:43 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 18 Oct 1996 07:43:43 +0000 (07:43 +0000)
src/backend/access/heap/hio.c

index 457e1174a301244760f4b4d957fb223ee5f0123b..8a95749c152a57379542cdd9ac12e278baf785d4 100644 (file)
@@ -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