Re: Connection slots reserved for replication - Mailing list pgsql-hackers

From Kevin Hale Boyes
Subject Re: Connection slots reserved for replication
Date
Msg-id CADAecHVAD4=26KAx4nj5DBvxqqvJkuwsy+riiiNhQqwnZg2K8Q@mail.gmail.com
Whole thread Raw
In response to Re: Connection slots reserved for replication  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Connection slots reserved for replication
List pgsql-hackers
On Mon, 11 Feb 2019 at 18:39, Michael Paquier <michael@paquier.xyz> wrote:
And done.
 
Michael,
I think there's a small problem with the commit.
The position of xlrec.max_wal_senders (line 117) should be below max_worker_processes.

112         appendStringInfo(buf, "max_connections=%d max_worker_processes=%d "
113                          "max_wal_senders=%d max_prepared_xacts=%d "
114                          "max_locks_per_xact=%d wal_level=%s "
115                          "wal_log_hints=%s track_commit_timestamp=%s",
116                          xlrec.MaxConnections,
117                          xlrec.max_wal_senders,
118                          xlrec.max_worker_processes,
119                          xlrec.max_prepared_xacts,
120                          xlrec.max_locks_per_xact,
121                          wal_level_str,
122                          xlrec.wal_log_hints ? "on" : "off",
123                          xlrec.track_commit_timestamp ? "on" : "off");

Kevin.

 

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: monitoring CREATE INDEX [CONCURRENTLY]
Next
From: Thomas Munro
Date:
Subject: Re: pg11.1: dsa_area could not attach to segment