Обсуждение: pgsql: Fix upper limit of superuser_reserved_connections, add limit for

Поиск
Список
Период
Сортировка

pgsql: Fix upper limit of superuser_reserved_connections, add limit for

От
Magnus Hagander
Дата:
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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6f0c9bc4b95c295501caa5ca56158afef7f50f30

Modified Files
--------------
doc/src/sgml/config.sgml            |   15 ++++++++++-----
src/backend/postmaster/postmaster.c |    7 ++++++-
2 files changed, 16 insertions(+), 6 deletions(-)