summaryrefslogtreecommitdiff
path: root/src/backend/storage/page/itemptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/page/itemptr.c')
-rw-r--r--src/backend/storage/page/itemptr.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/backend/storage/page/itemptr.c b/src/backend/storage/page/itemptr.c
deleted file mode 100644
index 1f5bae633a2..00000000000
--- a/src/backend/storage/page/itemptr.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * itemptr.c
- * POSTGRES disk item pointer code.
- *
- * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- *
- * IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/page/itemptr.c,v 1.10 2002/06/20 20:29:35 momjian Exp $
- *
- *-------------------------------------------------------------------------
- */
-#include "postgres.h"
-
-#include "storage/bufpage.h"
-
-/*
- * ItemPointerEquals
- * Returns true if both item pointers point to the same item,
- * otherwise returns false.
- *
- * Note:
- * Assumes that the disk item pointers are not NULL.
- */
-bool
-ItemPointerEquals(ItemPointer pointer1, ItemPointer pointer2)
-{
- if (ItemPointerGetBlockNumber(pointer1) ==
- ItemPointerGetBlockNumber(pointer2) &&
- ItemPointerGetOffsetNumber(pointer1) ==
- ItemPointerGetOffsetNumber(pointer2))
- return true;
- else
- return false;
-}