diff options
Diffstat (limited to 'src/backend/storage/itempos.h')
| -rw-r--r-- | src/backend/storage/itempos.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/backend/storage/itempos.h b/src/backend/storage/itempos.h deleted file mode 100644 index c3b895ae07..0000000000 --- a/src/backend/storage/itempos.h +++ /dev/null @@ -1,44 +0,0 @@ -/*------------------------------------------------------------------------- - * - * itempos.h-- - * Standard POSTGRES buffer page long item subposition definitions. - * - * - * Copyright (c) 1994, Regents of the University of California - * - * $Id: itempos.h,v 1.1.1.1 1996/07/09 06:21:53 scrappy Exp $ - * - *------------------------------------------------------------------------- - */ -#ifndef ITEMPOS_H -#define ITEMPOS_H - -#include "c.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)\ - { (OBJP)->op_cp += (LEN); (OBJP)->op_len -= (LEN); } - -#endif /* ITEMPOS_H */ |
