|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/heapam_xlog.h"#include "access/rmgrdesc_utils.h"#include "access/visibilitymapdefs.h"#include "storage/standbydefs.h"
Go to the source code of this file.
Functions | |
| static void | infobits_desc (StringInfo buf, uint8 infobits, const char *keyname) |
| static void | truncate_flags_desc (StringInfo buf, uint8 flags) |
| static void | plan_elem_desc (StringInfo buf, void *plan, void *data) |
| void | heap_xlog_deserialize_prune_and_freeze (char *cursor, uint16 flags, int *nplans, xlhp_freeze_plan **plans, OffsetNumber **frz_offsets, int *nredirected, OffsetNumber **redirected, int *ndead, OffsetNumber **nowdead, int *nunused, OffsetNumber **nowunused) |
| void | heap_desc (StringInfo buf, XLogReaderState *record) |
| void | heap2_desc (StringInfo buf, XLogReaderState *record) |
| const char * | heap_identify (uint8 info) |
| const char * | heap2_identify (uint8 info) |
| void heap2_desc | ( | StringInfo | buf, |
| XLogReaderState * | record | ||
| ) |
Definition at line 265 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), buf, fb(), heap_xlog_deserialize_prune_and_freeze(), infobits_desc(), ItemPointerGetBlockNumber(), ItemPointerGetOffsetNumber(), offset_elem_desc(), plan_elem_desc(), redirect_elem_desc(), SizeOfHeapPrune, VISIBILITYMAP_ALL_FROZEN, VISIBILITYMAP_ALL_VISIBLE, XLH_INSERT_ALL_FROZEN_SET, XLHP_HAS_CONFLICT_HORIZON, XLHP_IS_CATALOG_REL, XLHP_VM_ALL_FROZEN, XLHP_VM_ALL_VISIBLE, XLOG_HEAP2_LOCK_UPDATED, XLOG_HEAP2_MULTI_INSERT, XLOG_HEAP2_NEW_CID, XLOG_HEAP2_PRUNE_ON_ACCESS, XLOG_HEAP2_PRUNE_VACUUM_CLEANUP, XLOG_HEAP2_PRUNE_VACUUM_SCAN, XLOG_HEAP2_VISIBLE, XLOG_HEAP_INIT_PAGE, XLOG_HEAP_OPMASK, XLogRecGetBlockData(), XLogRecGetData, XLogRecGetInfo, and XLogRecHasBlockData.
Definition at line 449 of file heapdesc.c.
References fb(), XLOG_HEAP2_LOCK_UPDATED, XLOG_HEAP2_MULTI_INSERT, XLOG_HEAP2_NEW_CID, XLOG_HEAP2_PRUNE_ON_ACCESS, XLOG_HEAP2_PRUNE_VACUUM_CLEANUP, XLOG_HEAP2_PRUNE_VACUUM_SCAN, XLOG_HEAP2_REWRITE, XLOG_HEAP2_VISIBLE, XLOG_HEAP_INIT_PAGE, and XLR_INFO_MASK.
| void heap_desc | ( | StringInfo | buf, |
| XLogReaderState * | record | ||
| ) |
Definition at line 185 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), buf, fb(), infobits_desc(), oid_elem_desc(), standby_desc_invalidations(), truncate_flags_desc(), XLOG_HEAP_CONFIRM, XLOG_HEAP_DELETE, XLOG_HEAP_HOT_UPDATE, XLOG_HEAP_INPLACE, XLOG_HEAP_INSERT, XLOG_HEAP_LOCK, XLOG_HEAP_OPMASK, XLOG_HEAP_TRUNCATE, XLOG_HEAP_UPDATE, XLogRecGetData, and XLogRecGetInfo.
Definition at line 404 of file heapdesc.c.
References fb(), XLOG_HEAP_CONFIRM, XLOG_HEAP_DELETE, XLOG_HEAP_HOT_UPDATE, XLOG_HEAP_INIT_PAGE, XLOG_HEAP_INPLACE, XLOG_HEAP_INSERT, XLOG_HEAP_LOCK, XLOG_HEAP_TRUNCATE, XLOG_HEAP_UPDATE, and XLR_INFO_MASK.
| void heap_xlog_deserialize_prune_and_freeze | ( | char * | cursor, |
| uint16 | flags, | ||
| int * | nplans, | ||
| xlhp_freeze_plan ** | plans, | ||
| OffsetNumber ** | frz_offsets, | ||
| int * | nredirected, | ||
| OffsetNumber ** | redirected, | ||
| int * | ndead, | ||
| OffsetNumber ** | nowdead, | ||
| int * | nunused, | ||
| OffsetNumber ** | nowunused | ||
| ) |
Definition at line 106 of file heapdesc.c.
References Assert, data, fb(), XLHP_HAS_DEAD_ITEMS, XLHP_HAS_FREEZE_PLANS, XLHP_HAS_NOW_UNUSED_ITEMS, and XLHP_HAS_REDIRECTIONS.
Referenced by heap2_desc(), and heap_xlog_prune_freeze().
Definition at line 27 of file heapdesc.c.
References appendStringInfo(), appendStringInfoChar(), appendStringInfoString(), Assert, buf, fb(), XLHL_KEYS_UPDATED, XLHL_XMAX_EXCL_LOCK, XLHL_XMAX_IS_MULTI, XLHL_XMAX_KEYSHR_LOCK, and XLHL_XMAX_LOCK_ONLY.
Referenced by heap2_desc(), and heap_desc().
|
static |
Definition at line 77 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), buf, data, fb(), offset_elem_desc(), and plan.
Referenced by heap2_desc().
|
static |
Definition at line 56 of file heapdesc.c.
References appendStringInfoChar(), appendStringInfoString(), Assert, buf, XLH_TRUNCATE_CASCADE, and XLH_TRUNCATE_RESTART_SEQS.
Referenced by heap_desc().