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, ntodelete) + sizeof(uint16)) |
#define | SizeOfGistxlogPageDelete (offsetof(gistxlogPageDelete, downlinkOffset) + sizeof(OffsetNumber)) |
#define | SizeOfGistxlogPageReuse (offsetof(gistxlogPageReuse, latestRemovedFullXid) + sizeof(FullTransactionId)) |
Typedefs | |
typedef struct gistxlogPageUpdate | gistxlogPageUpdate |
typedef struct gistxlogDelete | gistxlogDelete |
typedef struct gistxlogPageSplit | gistxlogPageSplit |
typedef struct gistxlogPageDelete | gistxlogPageDelete |
typedef struct gistxlogPageReuse | gistxlogPageReuse |
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, ntodelete) + sizeof(uint16)) |
Definition at line 60 of file gistxlog.h.
Referenced by gistRedoDeleteRecord(), and gistXLogDelete().
#define SizeOfGistxlogPageDelete (offsetof(gistxlogPageDelete, downlinkOffset) + sizeof(OffsetNumber)) |
Definition at line 92 of file gistxlog.h.
Referenced by gistXLogPageDelete().
#define SizeOfGistxlogPageReuse (offsetof(gistxlogPageReuse, latestRemovedFullXid) + sizeof(FullTransactionId)) |
Definition at line 105 of file gistxlog.h.
Referenced by gistXLogPageReuse().
#define XLOG_GIST_ASSIGN_LSN 0x70 /* nop, assign new LSN */ |
Definition at line 29 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogAssignLSN().
#define XLOG_GIST_DELETE |
Definition at line 21 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogDelete().
#define XLOG_GIST_PAGE_DELETE 0x60 |
Definition at line 28 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogPageDelete().
#define XLOG_GIST_PAGE_REUSE |
Definition at line 23 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogPageReuse().
#define XLOG_GIST_PAGE_SPLIT 0x30 |
Definition at line 25 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogSplit().
#define XLOG_GIST_PAGE_UPDATE 0x00 |
Definition at line 20 of file gistxlog.h.
Referenced by gist_desc(), gist_identify(), gist_redo(), and gistXLogUpdate().
typedef struct gistxlogDelete gistxlogDelete |
typedef struct gistxlogPageDelete gistxlogPageDelete |
typedef struct gistxlogPageReuse gistxlogPageReuse |
typedef struct gistxlogPageSplit gistxlogPageSplit |
typedef struct gistxlogPageUpdate gistxlogPageUpdate |
void gist_desc | ( | StringInfo | buf, |
XLogReaderState * | record | ||
) |
Definition at line 61 of file gistdesc.c.
References 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, XLogRecGetInfo, and XLR_INFO_MASK.
const char* gist_identify | ( | uint8 | info | ) |
Definition at line 90 of file gistdesc.c.
References 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.
void gist_mask | ( | char * | pagedata, |
BlockNumber | blkno | ||
) |
Definition at line 458 of file gistxlog.c.
References GistClearPageHasGarbage, GistMarkFollowRight, GistPageIsLeaf, GistPageSetNSN, mask_lp_flags(), MASK_MARKER, mask_page_hint_bits(), mask_page_lsn_and_checksum(), mask_unused_space(), and GistSortedBuildPageState::page.
void gist_redo | ( | XLogReaderState * | record | ) |
Definition at line 402 of file gistxlog.c.
References elog, gistRedoDeleteRecord(), gistRedoPageDelete(), gistRedoPageReuse(), gistRedoPageSplitRecord(), gistRedoPageUpdateRecord(), MemoryContextReset(), MemoryContextSwitchTo(), PANIC, XLOG_GIST_ASSIGN_LSN, XLOG_GIST_DELETE, XLOG_GIST_PAGE_DELETE, XLOG_GIST_PAGE_REUSE, XLOG_GIST_PAGE_SPLIT, XLOG_GIST_PAGE_UPDATE, XLogRecGetInfo, and XLR_INFO_MASK.
void gist_xlog_cleanup | ( | void | ) |
void gist_xlog_startup | ( | void | ) |