提交 327d900b 编写于 作者: V Vadim B. Mikheev

Move #define PageIsNew (true if page is not initialize) to bufpage.h

上级 57de92c6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册