aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-12-26 17:51:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-12-26 17:51:04 +0000
commitc8b69ed6a892d7db5998e99b1fdae4b30d75a807 (patch)
tree8b9d15b84b063bf048fdb094f209c6c052fab737 /src
parent4ee79fd20d9afc5f1b88444efa3974742fe2ef8e (diff)
downloadpostgresql-c8b69ed6a892d7db5998e99b1fdae4b30d75a807.tar.gz
postgresql-c8b69ed6a892d7db5998e99b1fdae4b30d75a807.zip
Remove unused include file, per ITAGAKI Takahiro. AFAICT this has been
dead code since Postgres95.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/itempos.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/include/storage/itempos.h b/src/include/storage/itempos.h
deleted file mode 100644
index 08d7a96bb1a..00000000000
--- a/src/include/storage/itempos.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * itempos.h
- * Standard POSTGRES buffer page long item subposition definitions.
- *
- *
- * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- * $PostgreSQL: pgsql/src/include/storage/itempos.h,v 1.25 2008/01/01 19:45:59 momjian Exp $
- *
- *-------------------------------------------------------------------------
- */
-#ifndef ITEMPOS_H
-#define ITEMPOS_H
-
-#include "storage/buf.h"
-#include "storage/itemid.h"
-
-typedef struct ItemSubpositionData
-{
- Buffer op_db;
- ItemId op_lpp;
- char *op_cp; /* XXX */
- uint32 op_len;
-} ItemSubpositionData;
-
-typedef ItemSubpositionData *ItemSubposition;
-
-/*
- * PNOBREAK(OBJP, LEN)
- * struct objpos *OBJP;
- * unsigned LEN;
- */
-#define PNOBREAK(OBJP, LEN) ((OBJP)->op_len >= (LEN))
-
-/*
- * PSKIP(OBJP, LEN)
- * struct objpos *OBJP;
- * unsigned LEN;
- */
-#define PSKIP(OBJP, LEN) \
- do { (OBJP)->op_cp += (LEN); (OBJP)->op_len -= (LEN); } while (0)
-
-#endif /* ITEMPOS_H */