max_worker_processes

A GUC to set the maximum number of background worker processes

max_worker_processes is a GUC to set the maximum number of background worker processes.

max_worker_processes was added in PostgreSQL 9.4 (commit 6bc8ef0b).

Default

The default value for max_worker_processes is 8.

Usage

On a standby server, max_worker_processes must be set to the same or a higher value as on the primary server.

The current value of max_worker_processes is one of the GUC configuration parameters recorded in pg_control.

Categories

Background worker, Critical standby configuration item, GUC configuration item

See also

background worker