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.

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 GUC 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 9.0
    • added, initially as MaxWalSenders (commit 40f908bd)

Categories

Critical standby configuration item, GUC configuration item, Replication