|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | gistxlogPageUpdate |
| struct | gistxlogDelete |
| struct | gistxlogPageSplit |
| struct | gistxlogPageDelete |
| struct | gistxlogPageReuse |
Macros | |
| #define | XLOG_GIST_PAGE_UPDATE 0x00 |
| #define | XLOG_GIST_DELETE |
| #define | XLOG_GIST_PAGE_REUSE |
| #define | XLOG_GIST_PAGE_SPLIT 0x30 |
| #define | XLOG_GIST_PAGE_DELETE 0x60 |
| #define | XLOG_GIST_ASSIGN_LSN 0x70 /* nop, assign new LSN */ |
| #define | SizeOfGistxlogDelete offsetof(gistxlogDelete, offsets) |
| #define | SizeOfGistxlogPageDelete (offsetof(gistxlogPageDelete, downlinkOffset) + sizeof(OffsetNumber)) |
| #define | SizeOfGistxlogPageReuse (offsetof(gistxlogPageReuse, isCatalogRel) + sizeof(bool)) |
Functions | |
| void | gist_redo (XLogReaderState *record) |
| void | gist_desc (StringInfo buf, XLogReaderState *record) |
| const char * | gist_identify (uint8 info) |
| void | gist_xlog_startup (void) |
| void | gist_xlog_cleanup (void) |
| void | gist_mask (char *pagedata, BlockNumber blkno) |
| #define SizeOfGistxlogDelete offsetof(gistxlogDelete, offsets) |
Definition at line 59 of file gistxlog.h.
| #define SizeOfGistxlogPageDelete (offsetof(gistxlogPageDelete, downlinkOffset) + sizeof(OffsetNumber)) |
Definition at line 91 of file gistxlog.h.
| #define SizeOfGistxlogPageReuse (offsetof(gistxlogPageReuse, isCatalogRel) + sizeof(bool)) |
Definition at line 106 of file gistxlog.h.
Definition at line 27 of file gistxlog.h.
| #define XLOG_GIST_DELETE |
Definition at line 21 of file gistxlog.h.
| #define XLOG_GIST_PAGE_DELETE 0x60 |
Definition at line 26 of file gistxlog.h.
| #define XLOG_GIST_PAGE_REUSE |
Definition at line 22 of file gistxlog.h.
| #define XLOG_GIST_PAGE_SPLIT 0x30 |
Definition at line 23 of file gistxlog.h.
| #define XLOG_GIST_PAGE_UPDATE 0x00 |
Definition at line 20 of file gistxlog.h.
|
extern |
Definition at line 61 of file gistdesc.c.
References buf, fb(), out_gistxlogDelete(), out_gistxlogPageDelete(), out_gistxlogPageReuse(), out_gistxlogPageSplit(), out_gistxlogPageUpdate(), XLOG_GIST_ASSIGN_LSN, XLOG_GIST_DELETE, XLOG_GIST_PAGE_DELETE, XLOG_GIST_PAGE_REUSE, XLOG_GIST_PAGE_SPLIT, XLOG_GIST_PAGE_UPDATE, XLogRecGetData, and XLogRecGetInfo.
Definition at line 90 of file gistdesc.c.
References fb(), XLOG_GIST_ASSIGN_LSN, XLOG_GIST_DELETE, XLOG_GIST_PAGE_DELETE, XLOG_GIST_PAGE_REUSE, XLOG_GIST_PAGE_SPLIT, XLOG_GIST_PAGE_UPDATE, and XLR_INFO_MASK.
|
extern |
Definition at line 451 of file gistxlog.c.
References fb(), GistClearPageHasGarbage, GistMarkFollowRight, GistPageIsLeaf, GistPageSetNSN, mask_lp_flags(), MASK_MARKER, mask_page_hint_bits(), mask_page_lsn_and_checksum(), and mask_unused_space().
|
extern |
Definition at line 395 of file gistxlog.c.
References elog, fb(), gistRedoDeleteRecord(), gistRedoPageDelete(), gistRedoPageReuse(), gistRedoPageSplitRecord(), gistRedoPageUpdateRecord(), MemoryContextReset(), MemoryContextSwitchTo(), opCtx, PANIC, XLOG_GIST_ASSIGN_LSN, XLOG_GIST_DELETE, XLOG_GIST_PAGE_DELETE, XLOG_GIST_PAGE_REUSE, XLOG_GIST_PAGE_SPLIT, XLOG_GIST_PAGE_UPDATE, and XLogRecGetInfo.