1
/*-------------------------------------------------------------------------
4
* Standard POSTGRES buffer page long item subposition definitions.
7
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
10
* $PostgreSQL: pgsql/src/include/storage/itempos.h,v 1.20 2004-12-31 22:03:42 pgsql Exp $
12
*-------------------------------------------------------------------------
17
#include "storage/buf.h"
18
#include "storage/itemid.h"
20
typedef struct ItemSubpositionData
24
char *op_cp; /* XXX */
26
} ItemSubpositionData;
28
typedef ItemSubpositionData *ItemSubposition;
32
* struct objpos *OBJP;
35
#define PNOBREAK(OBJP, LEN) ((OBJP)->op_len >= LEN)
39
* struct objpos *OBJP;
42
#define PSKIP(OBJP, LEN)\
43
do { (OBJP)->op_cp += (LEN); (OBJP)->op_len -= (LEN); } while (0)
45
#endif /* ITEMPOS_H */