Contents
max_wal_senders
A configuration parameter determining the maximum number of concurrent replication connections
max_wal_senders
is a configuration parameter determining the maximum number of concurrent replication connections.
max_wal_senders
was added in PostgreSQL 9.0.
Default value
The default value for max_wal_senders
is:
- PostgreSQL 10 and later:
10
- PostgreSQL 9.0 ~ PostgreSQL 9.6 :
0
Usage
On a standby, max_wal_senders
must be set to the same or higher value as on the primary.
The current value of max_wal_senders
is one of the configuration parameters recorded in pg_control
(PostgreSQL 12 and later).
Change history
- PostgreSQL 12
- the value set on a standby must be the same or greater as the value on the primary node at the time the standby was cloned (commit ea92368c)
- PostgreSQL 10
- default value changed from
0
to10
(commit f6d6d292)
- default value changed from
- PostgreSQL 9.0
- added, initially as
MaxWalSenders
(commit 40f908bd)
- added, initially as
References
- PostgreSQL documentation: max_wal_senders