diff options
Diffstat (limited to 'src/include/storage/itempos.h')
-rw-r--r-- | src/include/storage/itempos.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/src/include/storage/itempos.h b/src/include/storage/itempos.h index fc847df4ec9..bea9cd64746 100644 --- a/src/include/storage/itempos.h +++ b/src/include/storage/itempos.h @@ -1,43 +1,44 @@ /*------------------------------------------------------------------------- * * itempos.h-- - * Standard POSTGRES buffer page long item subposition definitions. + * Standard POSTGRES buffer page long item subposition definitions. * * * Copyright (c) 1994, Regents of the University of California * - * $Id: itempos.h,v 1.3 1996/11/05 06:10:58 scrappy Exp $ + * $Id: itempos.h,v 1.4 1997/09/07 05:01:20 momjian Exp $ * *------------------------------------------------------------------------- */ -#ifndef ITEMPOS_H +#ifndef ITEMPOS_H #define ITEMPOS_H #include <storage/itemid.h> #include <storage/buf.h> -typedef struct ItemSubpositionData { - Buffer op_db; - ItemId op_lpp; - char *op_cp; /* XXX */ - uint32 op_len; -} ItemSubpositionData; +typedef struct ItemSubpositionData +{ + Buffer op_db; + ItemId op_lpp; + char *op_cp; /* XXX */ + uint32 op_len; +} ItemSubpositionData; -typedef ItemSubpositionData *ItemSubposition; +typedef ItemSubpositionData *ItemSubposition; /* - * PNOBREAK(OBJP, LEN) - * struct objpos *OBJP; - * unsigned LEN; + * PNOBREAK(OBJP, LEN) + * struct objpos *OBJP; + * unsigned LEN; */ -#define PNOBREAK(OBJP, LEN) ((OBJP)->op_len >= LEN) +#define PNOBREAK(OBJP, LEN) ((OBJP)->op_len >= LEN) /* - * PSKIP(OBJP, LEN) - * struct objpos *OBJP; - * unsigned LEN; + * PSKIP(OBJP, LEN) + * struct objpos *OBJP; + * unsigned LEN; */ #define PSKIP(OBJP, LEN)\ - { (OBJP)->op_cp += (LEN); (OBJP)->op_len -= (LEN); } + { (OBJP)->op_cp += (LEN); (OBJP)->op_len -= (LEN); } -#endif /* ITEMPOS_H */ +#endif /* ITEMPOS_H */ |