|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/transam.h"#include "access/xlog.h"#include "access/xlog_internal.h"#include "catalog/pg_control.h"#include "utils/guc.h"#include "utils/timestamp.h"
Go to the source code of this file.
Functions | |
| static const char * | get_wal_level_string (int wal_level) |
| void | xlog_desc (StringInfo buf, XLogReaderState *record) |
| const char * | xlog_identify (uint8 info) |
| void | XLogRecGetBlockRefInfo (XLogReaderState *record, bool pretty, bool detailed_format, StringInfo buf, uint32 *fpi_len) |
Variables | |
| const struct config_enum_entry | wal_level_options [] |
Definition at line 40 of file xlogdesc.c.
References config_enum_entry::name, config_enum_entry::val, wal_level, wal_level_options, and wal_level_str().
Referenced by xlog_desc().
| void xlog_desc | ( | StringInfo | buf, |
| XLogReaderState * | record | ||
| ) |
Definition at line 58 of file xlogdesc.c.
References appendStringInfo(), appendStringInfoString(), buf, EpochFromFullTransactionId, fb(), get_wal_level_string(), LSN_FORMAT_ARGS, timestamptz_to_str(), wal_level, wal_level_str(), XidFromFullTransactionId, XLOG_BACKUP_END, XLOG_CHECKPOINT_ONLINE, XLOG_CHECKPOINT_REDO, XLOG_CHECKPOINT_SHUTDOWN, XLOG_END_OF_RECOVERY, XLOG_FPI, XLOG_FPI_FOR_HINT, XLOG_FPW_CHANGE, XLOG_LOGICAL_DECODING_STATUS_CHANGE, XLOG_NEXTOID, XLOG_OVERWRITE_CONTRECORD, XLOG_PARAMETER_CHANGE, XLOG_RESTORE_POINT, XLogRecGetData, and XLogRecGetInfo.
Definition at line 181 of file xlogdesc.c.
References fb(), XLOG_BACKUP_END, XLOG_CHECKPOINT_ONLINE, XLOG_CHECKPOINT_REDO, XLOG_CHECKPOINT_SHUTDOWN, XLOG_END_OF_RECOVERY, XLOG_FPI, XLOG_FPI_FOR_HINT, XLOG_FPW_CHANGE, XLOG_LOGICAL_DECODING_STATUS_CHANGE, XLOG_NEXTOID, XLOG_NOOP, XLOG_OVERWRITE_CONTRECORD, XLOG_PARAMETER_CHANGE, XLOG_RESTORE_POINT, XLOG_SWITCH, and XLR_INFO_MASK.
| void XLogRecGetBlockRefInfo | ( | XLogReaderState * | record, |
| bool | pretty, | ||
| bool | detailed_format, | ||
| StringInfo | buf, | ||
| uint32 * | fpi_len | ||
| ) |
Definition at line 242 of file xlogdesc.c.
References appendStringInfo(), appendStringInfoChar(), appendStringInfoString(), Assert, BKPIMAGE_COMPRESS_LZ4, BKPIMAGE_COMPRESS_PGLZ, BKPIMAGE_COMPRESS_ZSTD, BKPIMAGE_COMPRESSED, buf, RelFileLocator::dbOid, fb(), forkNames, MAIN_FORKNUM, RelFileLocator::relNumber, RelFileLocator::spcOid, XLogRecBlockImageApply, XLogRecGetBlock, XLogRecGetBlockTagExtended(), XLogRecHasBlockImage, and XLogRecMaxBlockId.
Referenced by GetWALRecordInfo(), and XLogDumpDisplayRecord().
| const struct config_enum_entry wal_level_options[] |
Definition at line 27 of file xlogdesc.c.
Referenced by get_wal_level_string().