48 "tli %u; prev tli %u; fpw %s; xid %u:%u; oid %u; multi %u; offset %u; "
49 "oldest xid %u in DB %u; oldest multi %u in DB %u; "
50 "oldest/newest commit timestamp xid: %u/%u; "
51 "oldest running xid %u; %s",
74 memcpy(&nextOid, rec,
sizeof(
Oid));
114 "max_wal_senders=%d max_prepared_xacts=%d "
115 "max_locks_per_xact=%d wal_level=%s "
116 "wal_log_hints=%s track_commit_timestamp=%s",
130 memcpy(&fpw, rec,
sizeof(
bool));
160 const char *
id = NULL;
165 id =
"CHECKPOINT_SHUTDOWN";
168 id =
"CHECKPOINT_ONLINE";
183 id =
"PARAMETER_CHANGE";
186 id =
"RESTORE_POINT";
192 id =
"END_OF_RECOVERY";
195 id =
"OVERWRITE_CONTRECORD";
204 id =
"CHECKPOINT_REDO";
224 if (detailed_format && pretty)
234 &rlocator, &forknum, &blk, NULL))
243 else if (block_id > 0)
247 "blkref #%d: rel %u/%u/%u fork %s blk %u",
275 " (FPW%s); hole: offset: %u, length: %u, "
276 "compression saved: %u, method: %s",
278 "" :
" for WAL verification",
289 " (FPW%s); hole: offset: %u, length: %u",
291 "" :
" for WAL verification",
307 ", blkref #%d: rel %u/%u/%u fork %s blk %u",
316 ", blkref #%d: rel %u/%u/%u blk %u",
336 if (!detailed_format && pretty)
const char * timestamptz_to_str(TimestampTz t)
static const char * wal_level_str(WalLevel wal_level)
#define Assert(condition)
#define XLOG_RESTORE_POINT
#define XLOG_CHECKPOINT_REDO
#define XLOG_OVERWRITE_CONTRECORD
#define XLOG_FPI_FOR_HINT
#define XLOG_CHECKPOINT_SHUTDOWN
#define XLOG_PARAMETER_CHANGE
#define XLOG_CHECKPOINT_ONLINE
#define XLOG_END_OF_RECOVERY
const char *const forkNames[]
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendStringInfoString(StringInfo str, const char *s)
void appendStringInfoChar(StringInfo str, char ch)
MultiXactOffset nextMultiOffset
TransactionId newestCommitTsXid
TimeLineID PrevTimeLineID
TimeLineID ThisTimeLineID
TransactionId oldestActiveXid
FullTransactionId nextXid
TransactionId oldestCommitTsXid
TimeLineID PrevTimeLineID
TimeLineID ThisTimeLineID
TimestampTz overwrite_time
XLogRecPtr overwritten_lsn
bool track_commit_timestamp
char rp_name[MAXFNAMELEN]
#define EpochFromFullTransactionId(x)
#define XidFromFullTransactionId(x)
#define LSN_FORMAT_ARGS(lsn)
void xlog_desc(StringInfo buf, XLogReaderState *record)
void XLogRecGetBlockRefInfo(XLogReaderState *record, bool pretty, bool detailed_format, StringInfo buf, uint32 *fpi_len)
const char * xlog_identify(uint8 info)
const struct config_enum_entry wal_level_options[]
bool XLogRecGetBlockTagExtended(XLogReaderState *record, uint8 block_id, RelFileLocator *rlocator, ForkNumber *forknum, BlockNumber *blknum, Buffer *prefetch_buffer)
#define XLogRecGetInfo(decoder)
#define XLogRecBlockImageApply(decoder, block_id)
#define XLogRecGetData(decoder)
#define XLogRecGetBlock(decoder, i)
#define XLogRecMaxBlockId(decoder)
#define XLogRecHasBlockImage(decoder, block_id)
#define BKPIMAGE_COMPRESS_ZSTD
#define BKPIMAGE_COMPRESS_LZ4
#define BKPIMAGE_COMPRESSED(info)
#define BKPIMAGE_COMPRESS_PGLZ