max_connections

A configuration parameter determining the maximum number of concurrent connections

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

max_connections was added in PostgreSQL 7.1.

Default value

The 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.

Change history

Categories

Critical standby configuration item, GUC configuration item

See also

superuser_reserved_connections