Skip to content

Commit 326b6f0

Browse files
committed
Print new track_commit_timestamp in rm_desc of a parameter-change record.
Michael Paquier
1 parent c846e67 commit 326b6f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/access/rmgrdesc/xlogdesc.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,15 @@ xlog_desc(StringInfo buf, XLogReaderState *record)
110110

111111
appendStringInfo(buf, "max_connections=%d max_worker_processes=%d "
112112
"max_prepared_xacts=%d max_locks_per_xact=%d "
113-
"wal_level=%s wal_log_hints=%s",
113+
"wal_level=%s wal_log_hints=%s "
114+
"track_commit_timestamps=%s",
114115
xlrec.MaxConnections,
115116
xlrec.max_worker_processes,
116117
xlrec.max_prepared_xacts,
117118
xlrec.max_locks_per_xact,
118119
wal_level_str,
119-
xlrec.wal_log_hints ? "on" : "off");
120+
xlrec.wal_log_hints ? "on" : "off",
121+
xlrec.track_commit_timestamp ? "on" : "off");
120122
}
121123
else if (info == XLOG_FPW_CHANGE)
122124
{

0 commit comments

Comments
 (0)