Fix upper limit of superuser_reserved_connections, add limit for wal_senders

Magnus Hagander <magnus@hagander.net>

Commit: 6f0c9bc4b95c295501caa5ca56158afef7f50f30
Author: Magnus Hagander <magnus@hagander.net>
Date: 2012-08-10T12:54:36Z
Releases: 9.0.9
Fix upper limit of superuser_reserved_connections, add limit for wal_senders

Should be limited to the maximum number of connections excluding
autovacuum workers, not including.

Add similar check for max_wal_senders, which should never be higher than
max_connections.

Files

PathChange+/−
doc/src/sgml/config.sgml modified +10 −5
src/backend/postmaster/postmaster.c modified +6 −1