31 char startstrbuf[128];
40 pg_strftime(startstrbuf,
sizeof(startstrbuf),
"%Y-%m-%d %H:%M:%S %Z",
63 state->started_in_recovery ?
"standby" :
"primary");
70 char stopstrfbuf[128];
73 pg_strftime(stopstrfbuf,
sizeof(stopstrfbuf),
"%Y-%m-%d %H:%M:%S %Z",
#define Assert(condition)
void pfree(void *pointer)
struct pg_tm * pg_localtime(const pg_time_t *timep, const pg_tz *tz)
size_t pg_strftime(char *s, size_t maxsize, const char *format, const struct pg_tm *t)
PGDLLIMPORT pg_tz * log_timezone
StringInfo makeStringInfo(void)
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendStringInfoString(StringInfo str, const char *s)
#define XLByteToSeg(xlrp, logSegNo, wal_segsz_bytes)
static void XLogFileName(char *fname, TimeLineID tli, XLogSegNo logSegNo, int wal_segsz_bytes)
#define LSN_FORMAT_ARGS(lsn)
#define XLogRecPtrIsInvalid(r)