|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/transam.h"#include "access/xact.h"#include "replication/origin.h"#include "storage/sinval.h"#include "storage/standbydefs.h"#include "utils/timestamp.h"
Go to the source code of this file.
| void ParseAbortRecord | ( | uint8 | info, |
| xl_xact_abort * | xlrec, | ||
| xl_xact_parsed_abort * | parsed | ||
| ) |
Definition at line 141 of file xactdesc.c.
References data, xl_xact_dbinfo::dbId, fb(), MinSizeOfXactAbort, MinSizeOfXactRelfileLocators, MinSizeOfXactStatsItems, MinSizeOfXactSubxacts, xl_xact_stats_items::nitems, xl_xact_relfilelocators::nrels, xl_xact_subxacts::nsubxacts, strlcpy(), XACT_XINFO_HAS_DBINFO, XACT_XINFO_HAS_DROPPED_STATS, XACT_XINFO_HAS_GID, XACT_XINFO_HAS_ORIGIN, XACT_XINFO_HAS_RELFILELOCATORS, XACT_XINFO_HAS_SUBXACTS, XACT_XINFO_HAS_TWOPHASE, xl_xact_twophase::xid, xl_xact_xinfo::xinfo, and XLOG_XACT_HAS_INFO.
Referenced by recoveryStopsAfter(), recoveryStopsBefore(), SummarizeXactRecord(), xact_decode(), xact_desc_abort(), and xact_redo().
| void ParseCommitRecord | ( | uint8 | info, |
| xl_xact_commit * | xlrec, | ||
| xl_xact_parsed_commit * | parsed | ||
| ) |
Definition at line 35 of file xactdesc.c.
References data, xl_xact_dbinfo::dbId, fb(), MinSizeOfXactCommit, MinSizeOfXactInvals, MinSizeOfXactRelfileLocators, MinSizeOfXactStatsItems, MinSizeOfXactSubxacts, xl_xact_stats_items::nitems, xl_xact_invals::nmsgs, xl_xact_relfilelocators::nrels, xl_xact_subxacts::nsubxacts, strlcpy(), XACT_XINFO_HAS_DBINFO, XACT_XINFO_HAS_DROPPED_STATS, XACT_XINFO_HAS_GID, XACT_XINFO_HAS_INVALS, XACT_XINFO_HAS_ORIGIN, XACT_XINFO_HAS_RELFILELOCATORS, XACT_XINFO_HAS_SUBXACTS, XACT_XINFO_HAS_TWOPHASE, xl_xact_twophase::xid, xl_xact_xinfo::xinfo, and XLOG_XACT_HAS_INFO.
Referenced by recoveryStopsAfter(), recoveryStopsBefore(), SummarizeXactRecord(), xact_decode(), xact_desc_commit(), and xact_redo().
| void ParsePrepareRecord | ( | uint8 | info, |
| xl_xact_prepare * | xlrec, | ||
| xl_xact_parsed_prepare * | parsed | ||
| ) |
Definition at line 239 of file xactdesc.c.
References fb(), and MAXALIGN.
Referenced by xact_decode(), and xact_desc_prepare().
| void xact_desc | ( | StringInfo | buf, |
| XLogReaderState * | record | ||
| ) |
Definition at line 439 of file xactdesc.c.
References appendStringInfo(), buf, fb(), InvalidOid, standby_desc_invalidations(), xact_desc_abort(), xact_desc_assignment(), xact_desc_commit(), xact_desc_prepare(), XLOG_XACT_ABORT, XLOG_XACT_ABORT_PREPARED, XLOG_XACT_ASSIGNMENT, XLOG_XACT_COMMIT, XLOG_XACT_COMMIT_PREPARED, XLOG_XACT_INVALIDATIONS, XLOG_XACT_OPMASK, XLOG_XACT_PREPARE, XLogRecGetData, XLogRecGetInfo, and XLogRecGetOrigin.
|
static |
Definition at line 370 of file xactdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, fb(), LSN_FORMAT_ARGS, ParseAbortRecord(), timestamptz_to_str(), TransactionIdIsValid, xact_desc_relations(), xact_desc_stats(), xact_desc_subxacts(), and XACT_XINFO_HAS_ORIGIN.
Referenced by xact_desc().
|
static |
Definition at line 428 of file xactdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, fb(), and i.
Referenced by xact_desc().
|
static |
Definition at line 334 of file xactdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, fb(), LSN_FORMAT_ARGS, ParseCommitRecord(), standby_desc_invalidations(), timestamptz_to_str(), TransactionIdIsValid, xact_desc_relations(), xact_desc_stats(), xact_desc_subxacts(), XACT_XINFO_HAS_ORIGIN, XactCompletionApplyFeedback, XactCompletionForceSyncCommit, and XactCompletionRelcacheInitFileInval.
Referenced by xact_desc().
|
static |
Definition at line 397 of file xactdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, fb(), InvalidReplOriginId, LSN_FORMAT_ARGS, ParsePrepareRecord(), standby_desc_invalidations(), timestamptz_to_str(), xact_desc_relations(), xact_desc_stats(), and xact_desc_subxacts().
Referenced by xact_desc().
|
static |
Definition at line 282 of file xactdesc.c.
References appendStringInfo(), buf, i, label, MAIN_FORKNUM, relpathperm, and str.
Referenced by xact_desc_abort(), xact_desc_commit(), and xact_desc_prepare().
|
static |
Definition at line 312 of file xactdesc.c.
References appendStringInfo(), buf, fb(), i, and label.
Referenced by xact_desc_abort(), xact_desc_commit(), and xact_desc_prepare().
|
static |
Definition at line 299 of file xactdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, and i.
Referenced by xact_desc_abort(), xact_desc_commit(), and xact_desc_prepare().
Definition at line 487 of file xactdesc.c.
References fb(), XLOG_XACT_ABORT, XLOG_XACT_ABORT_PREPARED, XLOG_XACT_ASSIGNMENT, XLOG_XACT_COMMIT, XLOG_XACT_COMMIT_PREPARED, XLOG_XACT_INVALIDATIONS, XLOG_XACT_OPMASK, and XLOG_XACT_PREPARE.