|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | xl_hash_insert |
| struct | xl_hash_add_ovfl_page |
| struct | xl_hash_split_allocate_page |
| struct | xl_hash_split_complete |
| struct | xl_hash_move_page_contents |
| struct | xl_hash_squeeze_page |
| struct | xl_hash_delete |
| struct | xl_hash_update_meta_page |
| struct | xl_hash_init_meta_page |
| struct | xl_hash_init_bitmap_page |
| struct | xl_hash_vacuum_one_page |
Functions | |
| void | hash_redo (XLogReaderState *record) |
| void | hash_desc (StringInfo buf, XLogReaderState *record) |
| const char * | hash_identify (uint8 info) |
| void | hash_mask (char *pagedata, BlockNumber blkno) |
| #define HASH_XLOG_FREE_OVFL_BUFS 6 |
Definition at line 22 of file hash_xlog.h.
| #define SizeOfHashAddOvflPage (offsetof(xl_hash_add_ovfl_page, bmpage_found) + sizeof(bool)) |
Definition at line 80 of file hash_xlog.h.
| #define SizeOfHashDelete (offsetof(xl_hash_delete, is_primary_bucket_page) + sizeof(bool)) |
Definition at line 187 of file hash_xlog.h.
| #define SizeOfHashInitBitmapPage (offsetof(xl_hash_init_bitmap_page, bmsize) + sizeof(uint16)) |
Definition at line 234 of file hash_xlog.h.
| #define SizeOfHashInitMetaPage (offsetof(xl_hash_init_meta_page, ffactor) + sizeof(uint16)) |
Definition at line 218 of file hash_xlog.h.
| #define SizeOfHashInsert (offsetof(xl_hash_insert, offnum) + sizeof(OffsetNumber)) |
Definition at line 61 of file hash_xlog.h.
| #define SizeOfHashMovePageContents (offsetof(xl_hash_move_page_contents, is_prim_bucket_same_wrt) + sizeof(bool)) |
Definition at line 138 of file hash_xlog.h.
| #define SizeOfHashSplitAllocPage (offsetof(xl_hash_split_allocate_page, flags) + sizeof(uint8)) |
Definition at line 100 of file hash_xlog.h.
| #define SizeOfHashSplitComplete (offsetof(xl_hash_split_complete, new_bucket_flag) + sizeof(uint16)) |
Definition at line 117 of file hash_xlog.h.
| #define SizeOfHashSqueezePage (offsetof(xl_hash_squeeze_page, is_prev_bucket_same_wrt) + sizeof(bool)) |
Definition at line 168 of file hash_xlog.h.
| #define SizeOfHashUpdateMetaPage (offsetof(xl_hash_update_meta_page, ntuples) + sizeof(double)) |
Definition at line 201 of file hash_xlog.h.
| #define SizeOfHashVacuumOnePage offsetof(xl_hash_vacuum_one_page, offsets) |
Definition at line 257 of file hash_xlog.h.
| #define XLH_SPLIT_META_UPDATE_MASKS (1<<0) |
Definition at line 45 of file hash_xlog.h.
| #define XLH_SPLIT_META_UPDATE_SPLITPOINT (1<<1) |
Definition at line 46 of file hash_xlog.h.
Definition at line 30 of file hash_xlog.h.
Definition at line 36 of file hash_xlog.h.
| #define XLOG_HASH_INIT_BITMAP_PAGE 0x10 /* initialize the bitmap page */ |
Definition at line 28 of file hash_xlog.h.
| #define XLOG_HASH_INIT_META_PAGE 0x00 /* initialize the meta page */ |
Definition at line 27 of file hash_xlog.h.
Definition at line 29 of file hash_xlog.h.
| #define XLOG_HASH_MOVE_PAGE_CONTENTS |
Definition at line 34 of file hash_xlog.h.
Definition at line 31 of file hash_xlog.h.
| #define XLOG_HASH_SPLIT_CLEANUP |
Definition at line 37 of file hash_xlog.h.
| #define XLOG_HASH_SPLIT_COMPLETE 0x60 /* completion of split operation */ |
Definition at line 33 of file hash_xlog.h.
Definition at line 32 of file hash_xlog.h.
| #define XLOG_HASH_SQUEEZE_PAGE |
Definition at line 35 of file hash_xlog.h.
Definition at line 38 of file hash_xlog.h.
| #define XLOG_HASH_VACUUM_ONE_PAGE |
Definition at line 40 of file hash_xlog.h.
|
extern |
Definition at line 20 of file hashdesc.c.
References appendStringInfo(), buf, fb(), XLH_SPLIT_META_UPDATE_MASKS, XLH_SPLIT_META_UPDATE_SPLITPOINT, XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, XLogRecGetData, and XLogRecGetInfo.
Definition at line 131 of file hashdesc.c.
References fb(), XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_CLEANUP, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SPLIT_PAGE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, and XLR_INFO_MASK.
|
extern |
Definition at line 1117 of file hash_xlog.c.
References fb(), HashPageOpaqueData::hasho_flag, HashPageGetOpaque, LH_BUCKET_PAGE, LH_OVERFLOW_PAGE, LH_PAGE_TYPE, LH_UNUSED_PAGE, mask_lp_flags(), mask_page_content(), mask_page_hint_bits(), mask_page_lsn_and_checksum(), and mask_unused_space().
|
extern |
Definition at line 1063 of file hash_xlog.c.
References elog, fb(), hash_xlog_add_ovfl_page(), hash_xlog_delete(), hash_xlog_init_bitmap_page(), hash_xlog_init_meta_page(), hash_xlog_insert(), hash_xlog_move_page_contents(), hash_xlog_split_allocate_page(), hash_xlog_split_cleanup(), hash_xlog_split_complete(), hash_xlog_split_page(), hash_xlog_squeeze_page(), hash_xlog_update_meta_page(), hash_xlog_vacuum_one_page(), PANIC, XLOG_HASH_ADD_OVFL_PAGE, XLOG_HASH_DELETE, XLOG_HASH_INIT_BITMAP_PAGE, XLOG_HASH_INIT_META_PAGE, XLOG_HASH_INSERT, XLOG_HASH_MOVE_PAGE_CONTENTS, XLOG_HASH_SPLIT_ALLOCATE_PAGE, XLOG_HASH_SPLIT_CLEANUP, XLOG_HASH_SPLIT_COMPLETE, XLOG_HASH_SPLIT_PAGE, XLOG_HASH_SQUEEZE_PAGE, XLOG_HASH_UPDATE_META_PAGE, XLOG_HASH_VACUUM_ONE_PAGE, and XLogRecGetInfo.