69 "tli %u; prev tli %u; fpw %s; wal_level %s; xid %u:%u; oid %u; multi %u; offset %u; "
70 "oldest xid %u in DB %u; oldest multi %u in DB %u; "
71 "oldest/newest commit timestamp xid: %u/%u; "
72 "oldest running xid %u; %s",
96 memcpy(&nextOid, rec,
sizeof(
Oid));
125 "max_wal_senders=%d max_prepared_xacts=%d "
126 "max_locks_per_xact=%d wal_level=%s "
127 "wal_log_hints=%s track_commit_timestamp=%s",
141 memcpy(&fpw, rec,
sizeof(
bool));
175 const char *
id = NULL;
180 id =
"CHECKPOINT_SHUTDOWN";
183 id =
"CHECKPOINT_ONLINE";
198 id =
"PARAMETER_CHANGE";
201 id =
"RESTORE_POINT";
207 id =
"END_OF_RECOVERY";
210 id =
"OVERWRITE_CONTRECORD";
219 id =
"CHECKPOINT_REDO";
239 if (detailed_format && pretty)
249 &rlocator, &forknum, &blk, NULL))
258 else if (block_id > 0)
262 "blkref #%d: rel %u/%u/%u fork %s blk %u",
290 " (FPW%s); hole: offset: %u, length: %u, "
291 "compression saved: %u, method: %s",
293 "" :
" for WAL verification",
304 " (FPW%s); hole: offset: %u, length: %u",
306 "" :
" for WAL verification",
322 ", blkref #%d: rel %u/%u/%u fork %s blk %u",
331 ", blkref #%d: rel %u/%u/%u blk %u",
351 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)
static const char * get_wal_level_string(int wal_level)
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