📄 itempos.h
字号:
/*------------------------------------------------------------------------- * * itempos.h * Standard POSTGRES buffer page long item subposition definitions. * * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/storage/itempos.h,v 1.21 2005/05/25 21:40:42 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 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -