summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2024-05-16 12:44:27 +0000
committerRobert Haas2024-05-16 12:46:08 +0000
commit8ba346283335f7ee5bac2e904c2daad49a204c7c (patch)
tree329814a61ada6f052573159dca658ea2e92e547c
parentfa65a022db26bc446fb67ce1d7ac543fa4bb72e4 (diff)
Document that increasing max_connections uses more resources.
Roberto Mello Discussion: http://postgr.es/m/CAKz==bJBCWrvN77fmuZ2XqD3jazWEb=E80AA4Yv9C9tQ61YDdQ@mail.gmail.com
-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.