Move #define PageIsNew (true if page is not initialize) to bufpage.h
This commit is contained in:
parent
57de92c648
commit
327d900b51
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user