PostgreSQL Source Code
git master
|
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_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 172 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), Assert(), buf, xl_heap_new_cid::cmax, xl_heap_new_cid::cmin, xl_heap_new_cid::combocid, RelFileLocator::dbOid, xl_heap_multi_insert::flags, xl_heap_lock_updated::flags, xl_heap_visible::flags, infobits_desc(), xl_heap_lock_updated::infobits_set, ItemPointerGetBlockNumber(), ItemPointerGetOffsetNumber(), xl_heap_prune::ndead, xl_heap_freeze_page::nplans, xl_heap_prune::nredirected, xl_heap_multi_insert::ntuples, xl_heap_vacuum::nunused, xl_heap_lock_updated::offnum, offset_elem_desc(), xl_heap_multi_insert::offsets, plan_elem_desc(), redirect_elem_desc(), RelFileLocator::relNumber, xl_heap_prune::snapshotConflictHorizon, xl_heap_freeze_page::snapshotConflictHorizon, xl_heap_visible::snapshotConflictHorizon, RelFileLocator::spcOid, xl_heap_new_cid::target_locator, xl_heap_new_cid::target_tid, XLOG_HEAP2_FREEZE_PAGE, XLOG_HEAP2_LOCK_UPDATED, XLOG_HEAP2_MULTI_INSERT, XLOG_HEAP2_NEW_CID, XLOG_HEAP2_PRUNE, XLOG_HEAP2_VACUUM, XLOG_HEAP2_VISIBLE, XLOG_HEAP_INIT_PAGE, XLOG_HEAP_OPMASK, XLogRecGetBlockData(), XLogRecGetData, XLogRecGetInfo, XLogRecHasBlockData, XLR_INFO_MASK, and xl_heap_lock_updated::xmax.
const char* heap2_identify | ( | uint8 | info | ) |
Definition at line 350 of file heapdesc.c.
References XLOG_HEAP2_FREEZE_PAGE, XLOG_HEAP2_LOCK_UPDATED, XLOG_HEAP2_MULTI_INSERT, XLOG_HEAP2_NEW_CID, XLOG_HEAP2_PRUNE, XLOG_HEAP2_REWRITE, XLOG_HEAP2_VACUUM, XLOG_HEAP2_VISIBLE, XLOG_HEAP_INIT_PAGE, and XLR_INFO_MASK.
void heap_desc | ( | StringInfo | buf, |
XLogReaderState * | record | ||
) |
Definition at line 95 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), buf, xl_heap_delete::flags, xl_heap_truncate::flags, xl_heap_insert::flags, xl_heap_update::flags, xl_heap_lock::flags, infobits_desc(), xl_heap_delete::infobits_set, xl_heap_lock::infobits_set, xl_heap_update::new_offnum, xl_heap_update::new_xmax, xl_heap_truncate::nrelids, xl_heap_delete::offnum, xl_heap_insert::offnum, xl_heap_lock::offnum, xl_heap_confirm::offnum, xl_heap_inplace::offnum, oid_elem_desc(), xl_heap_update::old_infobits_set, xl_heap_update::old_offnum, xl_heap_update::old_xmax, xl_heap_truncate::relids, 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, XLogRecGetInfo, XLR_INFO_MASK, xl_heap_delete::xmax, and xl_heap_lock::xmax.
const char* heap_identify | ( | uint8 | info | ) |
Definition at line 305 of file heapdesc.c.
References 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.
|
static |
Definition at line 25 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), Assert(), buf, 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 75 of file heapdesc.c.
References appendStringInfo(), appendStringInfoString(), array_desc(), buf, data, xl_heap_freeze_plan::ntuples, offset_elem_desc(), plan, xl_heap_freeze_plan::t_infomask, xl_heap_freeze_plan::t_infomask2, and xl_heap_freeze_plan::xmax.
Referenced by heap2_desc().
|
static |
Definition at line 54 of file heapdesc.c.
References appendStringInfoString(), Assert(), buf, XLH_TRUNCATE_CASCADE, and XLH_TRUNCATE_RESTART_SEQS.
Referenced by heap_desc().