1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-18 12:22:09 +03:00

Print wal_log_hints in the rm_desc routing of a parameter-change record.

It was an oversight in the original commit.

Also note in the sample config file that changing wal_log_hints requires a
restart.

Michael Paquier. Backpatch to 9.4, where wal_log_hints was added.
This commit is contained in:
Heikki Linnakangas
2014-12-05 11:58:24 +02:00
parent ebc2b681b8
commit c846e67c46
2 changed files with 6 additions and 2 deletions

View File

@@ -108,12 +108,15 @@ xlog_desc(StringInfo buf, XLogReaderState *record)
}
}
appendStringInfo(buf, "max_connections=%d max_worker_processes=%d max_prepared_xacts=%d max_locks_per_xact=%d wal_level=%s",
appendStringInfo(buf, "max_connections=%d max_worker_processes=%d "
"max_prepared_xacts=%d max_locks_per_xact=%d "
"wal_level=%s wal_log_hints=%s",
xlrec.MaxConnections,
xlrec.max_worker_processes,
xlrec.max_prepared_xacts,
xlrec.max_locks_per_xact,
wal_level_str);
wal_level_str,
xlrec.wal_log_hints ? "on" : "off");
}
else if (info == XLOG_FPW_CHANGE)
{