Fix upper limit of superuser_reserved_connections, add limit for wal_senders

Magnus Hagander <magnus@hagander.net>

Commit: 64d64a0530a57b4f949fc6d96ebc8d8318b63cdb
Author: Magnus Hagander <magnus@hagander.net>
Date: 2012-08-10T12:52:16Z
Releases: 9.1.5
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 −6
src/backend/postmaster/postmaster.c modified +6 −1