diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-12-05 11:58:24 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-12-05 12:00:48 +0200 |
commit | c846e67c46d5e72e6a0855282720bc44c6f95cb9 (patch) | |
tree | 74463db6a7329a6560a41b207562e6091a2bba95 /src/backend/access | |
parent | ebc2b681b8ffa597137aa7a19619e6a21176e928 (diff) | |
download | postgresql-c846e67c46d5e72e6a0855282720bc44c6f95cb9.tar.gz postgresql-c846e67c46d5e72e6a0855282720bc44c6f95cb9.zip |
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.
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/rmgrdesc/xlogdesc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/access/rmgrdesc/xlogdesc.c b/src/backend/access/rmgrdesc/xlogdesc.c index 6b5fea96d7b..8a88155ef9c 100644 --- a/src/backend/access/rmgrdesc/xlogdesc.c +++ b/src/backend/access/rmgrdesc/xlogdesc.c @@ -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) { |