]> granicus.if.org Git - postgresql/commitdiff
Fix description of WAL record XLOG_PARAMETER_CHANGE
authorMichael Paquier <michael@paquier.xyz>
Tue, 12 Feb 2019 04:10:59 +0000 (13:10 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 12 Feb 2019 04:10:59 +0000 (13:10 +0900)
max_wal_senders and max_worker_processes got reversed in the output
generated because of ea92368.

Reported-by: Kevin Hale Boyes
Discussion: https://postgr.es/m/CADAecHVAD4=26KAx4nj5DBvxqqvJkuwsy+riiiNhQqwnZg2K8Q@mail.gmail.com

src/backend/access/rmgrdesc/xlogdesc.c

index 0ad4454a8c6c2e98175d59e13965b15e22b8f762..bfad284be0814da0ee6fe8c0148d778462dc8be0 100644 (file)
@@ -114,8 +114,8 @@ xlog_desc(StringInfo buf, XLogReaderState *record)
                                                 "max_locks_per_xact=%d wal_level=%s "
                                                 "wal_log_hints=%s track_commit_timestamp=%s",
                                                 xlrec.MaxConnections,
-                                                xlrec.max_wal_senders,
                                                 xlrec.max_worker_processes,
+                                                xlrec.max_wal_senders,
                                                 xlrec.max_prepared_xacts,
                                                 xlrec.max_locks_per_xact,
                                                 wal_level_str,