22 #define HASH_XLOG_FREE_OVFL_BUFS 6
27 #define XLOG_HASH_INIT_META_PAGE 0x00
28 #define XLOG_HASH_INIT_BITMAP_PAGE 0x10
29 #define XLOG_HASH_INSERT 0x20
30 #define XLOG_HASH_ADD_OVFL_PAGE 0x30
31 #define XLOG_HASH_SPLIT_ALLOCATE_PAGE 0x40
32 #define XLOG_HASH_SPLIT_PAGE 0x50
33 #define XLOG_HASH_SPLIT_COMPLETE 0x60
34 #define XLOG_HASH_MOVE_PAGE_CONTENTS 0x70
36 #define XLOG_HASH_SQUEEZE_PAGE 0x80
39 #define XLOG_HASH_DELETE 0x90
40 #define XLOG_HASH_SPLIT_CLEANUP 0xA0
43 #define XLOG_HASH_UPDATE_META_PAGE 0xB0
45 #define XLOG_HASH_VACUUM_ONE_PAGE 0xC0
51 #define XLH_SPLIT_META_UPDATE_MASKS (1<<0)
52 #define XLH_SPLIT_META_UPDATE_SPLITPOINT (1<<1)
67 #define SizeOfHashInsert (offsetof(xl_hash_insert, offnum) + sizeof(OffsetNumber))
86 #define SizeOfHashAddOvflPage \
87 (offsetof(xl_hash_add_ovfl_page, bmpage_found) + sizeof(bool))
106 #define SizeOfHashSplitAllocPage \
107 (offsetof(xl_hash_split_allocate_page, flags) + sizeof(uint8))
123 #define SizeOfHashSplitComplete \
124 (offsetof(xl_hash_split_complete, new_bucket_flag) + sizeof(uint16))
144 #define SizeOfHashMovePageContents \
145 (offsetof(xl_hash_move_page_contents, is_prim_bucket_same_wrt) + sizeof(bool))
173 #define SizeOfHashSqueezePage \
174 (offsetof(xl_hash_squeeze_page, is_prev_bucket_same_wrt) + sizeof(bool))
192 #define SizeOfHashDelete (offsetof(xl_hash_delete, is_primary_bucket_page) + sizeof(bool))
206 #define SizeOfHashUpdateMetaPage \
207 (offsetof(xl_hash_update_meta_page, ntuples) + sizeof(double))
223 #define SizeOfHashInitMetaPage \
224 (offsetof(xl_hash_init_meta_page, ffactor) + sizeof(uint16))
239 #define SizeOfHashInitBitmapPage \
240 (offsetof(xl_hash_init_bitmap_page, bmsize) + sizeof(uint16))
262 #define SizeOfHashVacuumOnePage offsetof(xl_hash_vacuum_one_page, offsets)
#define FLEXIBLE_ARRAY_MEMBER
struct xl_hash_vacuum_one_page xl_hash_vacuum_one_page
struct xl_hash_init_bitmap_page xl_hash_init_bitmap_page
struct xl_hash_delete xl_hash_delete
struct xl_hash_move_page_contents xl_hash_move_page_contents
struct xl_hash_split_complete xl_hash_split_complete
struct xl_hash_squeeze_page xl_hash_squeeze_page
struct xl_hash_init_meta_page xl_hash_init_meta_page
void hash_mask(char *pagedata, BlockNumber blkno)
struct xl_hash_update_meta_page xl_hash_update_meta_page
struct xl_hash_insert xl_hash_insert
const char * hash_identify(uint8 info)
struct xl_hash_add_ovfl_page xl_hash_add_ovfl_page
void hash_desc(StringInfo buf, XLogReaderState *record)
struct xl_hash_split_allocate_page xl_hash_split_allocate_page
void hash_redo(XLogReaderState *record)
bool is_primary_bucket_page
bool is_prim_bucket_same_wrt
bool is_prim_bucket_same_wrt
bool is_prev_bucket_same_wrt
TransactionId snapshotConflictHorizon
OffsetNumber offsets[FLEXIBLE_ARRAY_MEMBER]