max_connections

A GUC parameter determining the maximum number of concurrent connections

max_connections is a GUC parameter determining the maximum number of concurrent connections to the database server.

max_connections was added in PostgreSQL 7.1 (commit 6a68f426).

Default

Default value for max_connections is: 100.

Usage

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

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

Categories

Critical standby configuration item, GUC configuration item

See also

superuser_reserved_connections