Go to the source code of this file.
◆ SizeOfGistxlogDelete
◆ SizeOfGistxlogPageDelete
◆ SizeOfGistxlogPageReuse
#define SizeOfGistxlogPageReuse (offsetof(gistxlogPageReuse, isCatalogRel) + sizeof(bool)) |
◆ XLOG_GIST_ASSIGN_LSN
#define XLOG_GIST_ASSIGN_LSN 0x70 /* nop, assign new LSN */ |
◆ XLOG_GIST_DELETE
◆ XLOG_GIST_PAGE_DELETE
#define XLOG_GIST_PAGE_DELETE 0x60 |
◆ XLOG_GIST_PAGE_REUSE
#define XLOG_GIST_PAGE_REUSE |
◆ XLOG_GIST_PAGE_SPLIT
#define XLOG_GIST_PAGE_SPLIT 0x30 |
◆ XLOG_GIST_PAGE_UPDATE
#define XLOG_GIST_PAGE_UPDATE 0x00 |
◆ gistxlogDelete
◆ gistxlogPageDelete
◆ gistxlogPageReuse
◆ gistxlogPageSplit
◆ gistxlogPageUpdate
◆ gist_desc()
Definition at line 61 of file gistdesc.c.
62{
65
66 switch (info)
67 {
70 break;
73 break;
76 break;
79 break;
82 break;
84
85 break;
86 }
87}
static void out_gistxlogPageDelete(StringInfo buf, gistxlogPageDelete *xlrec)
static void out_gistxlogPageUpdate(StringInfo buf, gistxlogPageUpdate *xlrec)
static void out_gistxlogPageSplit(StringInfo buf, gistxlogPageSplit *xlrec)
static void out_gistxlogDelete(StringInfo buf, gistxlogDelete *xlrec)
static void out_gistxlogPageReuse(StringInfo buf, gistxlogPageReuse *xlrec)
#define XLOG_GIST_ASSIGN_LSN
#define XLOG_GIST_PAGE_REUSE
#define XLOG_GIST_PAGE_DELETE
#define XLOG_GIST_PAGE_SPLIT
#define XLOG_GIST_PAGE_UPDATE
#define XLogRecGetInfo(decoder)
#define XLogRecGetData(decoder)
References buf, 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.
◆ gist_identify()
const char * gist_identify |
( |
uint8 |
info | ) |
|
◆ gist_mask()
◆ gist_redo()
Definition at line 397 of file gistxlog.c.
398{
401
402
403
404
405
406
407
409 switch (info)
410 {
413 break;
416 break;
419 break;
422 break;
425 break;
427
428 break;
429 default:
430 elog(
PANIC,
"gist_redo: unknown op code %u", info);
431 }
432
435}
static void gistRedoPageReuse(XLogReaderState *record)
static void gistRedoPageUpdateRecord(XLogReaderState *record)
static void gistRedoPageSplitRecord(XLogReaderState *record)
static void gistRedoPageDelete(XLogReaderState *record)
static void gistRedoDeleteRecord(XLogReaderState *record)
static MemoryContext opCtx
void MemoryContextReset(MemoryContext context)
static MemoryContext MemoryContextSwitchTo(MemoryContext context)
References elog, 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.
◆ gist_xlog_cleanup()
void gist_xlog_cleanup |
( |
void |
| ) |
|
◆ gist_xlog_startup()
void gist_xlog_startup |
( |
void |
| ) |
|