aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1996-10-18 07:43:43 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1996-10-18 07:43:43 +0000
commit327d900b5138992a0ef6829b92c48c2343aa0217 (patch)
tree7b145a6bedd34956925840dcc5ffaa5fde18d33c
parent57de92c648eca7c4bdb6a1a922246542d282b8ca (diff)
downloadpostgresql-327d900b5138992a0ef6829b92c48c2343aa0217.tar.gz
postgresql-327d900b5138992a0ef6829b92c48c2343aa0217.zip
Move #define PageIsNew (true if page is not initialize) to bufpage.h
-rw-r--r--src/backend/access/heap/hio.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c
index 457e1174a30..8a95749c152 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 $
*
*-------------------------------------------------------------------------
*/
@@ -94,13 +94,6 @@ RelationPutHeapTuple(Relation relation,
}
/*
- * 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
* particular, this routine is used to append data to the end of a relation