From: yanliang lei <msdnchina@163.com>
To: pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
Subject: the description of max_wal_senders parameter does not include Logical Replication
Date: Sat, 19 Aug 2023 11:49:21 +0800 (CST)
Message-ID: <3404faf4.b4c.18a0be96d81.Coremail.msdnchina@163.com> (raw)
the description of max_wal_senders parameter does not include Logical Replication
in the url https://www.postgresql.org/docs/15/runtime-config-replication.html
there are following description:
max_wal_senders (integer)
Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes). The default is 10. The value 0 means replication is disabled. Abrupt disconnection of a streaming client might leave an orphaned connection slot behind until a timeout is reached, so this parameter should be set slightly higher than the maximum number of expected clients so disconnected clients can immediately reconnect. This parameter can only be set at server start. Also, wal_level must be set to replica or higher to allow connections from standby servers.
When running a standby server, you must set this parameter to the same or higher value than on the primary server. Otherwise, queries will not be allowed in the standby server.
In the above description, there is no description about "Logical Replication also use or occupy max_wal_senders ",
so, I suggest the following modification:
Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients and Logical Replication (i.e., the maximum number of simultaneously running WAL sender processes)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: msdnchina@163.com, pgsql-docs@lists.postgresql.org
Subject: Re: the description of max_wal_senders parameter does not include Logical Replication
In-Reply-To: <3404faf4.b4c.18a0be96d81.Coremail.msdnchina@163.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox