aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2024-05-16 08:44:27 -0400
committerRobert Haas <rhaas@postgresql.org>2024-05-16 08:46:08 -0400
commit8ba346283335f7ee5bac2e904c2daad49a204c7c (patch)
tree329814a61ada6f052573159dca658ea2e92e547c /doc/src
parentfa65a022db26bc446fb67ce1d7ac543fa4bb72e4 (diff)
downloadpostgresql-8ba346283335f7ee5bac2e904c2daad49a204c7c.tar.gz
postgresql-8ba346283335f7ee5bac2e904c2daad49a204c7c.zip
Document that increasing max_connections uses more resources.
Roberto Mello Discussion: http://postgr.es/m/CAKz==bJBCWrvN77fmuZ2XqD3jazWEb=E80AA4Yv9C9tQ61YDdQ@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3777cfa52a7..698169afdb6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -708,6 +708,12 @@ include_dir 'conf.d'
</para>
<para>
+ PostgreSQL sizes certain resources based directly on the value of
+ <varname>max_connections</varname>. Increasing its value leads to
+ higher allocation of those resources, including shared memory.
+ </para>
+
+ <para>
When running a standby server, you must set this parameter to the
same or higher value than on the primary server. Otherwise, queries
will not be allowed in the standby server.