itempos.h
来自「关系型数据库 Postgresql 6.5.2」· C头文件 代码 · 共 45 行
H
45 行
/*------------------------------------------------------------------------- * * itempos.h * Standard POSTGRES buffer page long item subposition definitions. * * * Copyright (c) 1994, Regents of the University of California * * $Id: itempos.h,v 1.7 1999/02/13 23:22:06 momjian Exp $ * *------------------------------------------------------------------------- */#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 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 */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?