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));
156 const char *
id = NULL;
161 id =
"CHECKPOINT_SHUTDOWN";
164 id =
"CHECKPOINT_ONLINE";
179 id =
"PARAMETER_CHANGE";
182 id =
"RESTORE_POINT";
188 id =
"END_OF_RECOVERY";
191 id =
"OVERWRITE_CONTRECORD";
217 if (detailed_format && pretty)
227 &rlocator, &forknum, &blk, NULL))
236 else if (block_id > 0)
240 "blkref #%d: rel %u/%u/%u fork %s blk %u",
268 " (FPW%s); hole: offset: %u, length: %u, "
269 "compression saved: %u, method: %s",
271 "" :
" for WAL verification",
282 " (FPW%s); hole: offset: %u, length: %u",
284 "" :
" for WAL verification",
300 ", blkref #%d: rel %u/%u/%u fork %s blk %u",
309 ", blkref #%d: rel %u/%u/%u blk %u",
329 if (!detailed_format && pretty)
const char * timestamptz_to_str(TimestampTz t)
static const char * wal_level_str(WalLevel wal_level)
Assert(fmt[strlen(fmt) - 1] !='\n')
#define XLOG_RESTORE_POINT
#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