Go to the source code of this file.
◆ BackupState
◆ build_backup_content()
Definition at line 29 of file xlogbackup.c.
30{
35
37
39
40
43
48
50 {
53
58 }
59
64 state->started_in_recovery ?
"standby" :
"primary");
68
70 {
72
73
76
79 }
80
81
84 {
89 }
90
92}
#define Assert(condition)
size_t pg_strftime(char *s, size_t maxsize, const char *format, const struct pg_tm *t)
struct pg_tm * pg_localtime(const pg_time_t *timep, const pg_tz *tz)
PGDLLIMPORT pg_tz * log_timezone
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendStringInfoString(StringInfo str, const char *s)
void initStringInfo(StringInfo str)
#define XLByteToSeg(xlrp, logSegNo, wal_segsz_bytes)
static void XLogFileName(char *fname, TimeLineID tli, XLogSegNo logSegNo, int wal_segsz_bytes)
#define XLogRecPtrIsValid(r)
#define LSN_FORMAT_ARGS(lsn)
References appendStringInfo(), appendStringInfoString(), Assert, StringInfoData::data, fb(), initStringInfo(), log_timezone, LSN_FORMAT_ARGS, MAXFNAMELEN, pg_localtime(), pg_strftime(), wal_segment_size, XLByteToSeg, XLogFileName(), and XLogRecPtrIsValid.
Referenced by do_pg_backup_stop(), perform_base_backup(), and pg_backup_stop().