Document that increasing max_connections uses more resources.
authorRobert Haas <[email protected]>
Thu, 16 May 2024 12:44:27 +0000 (08:44 -0400)
committerRobert Haas <[email protected]>
Thu, 16 May 2024 12:46:08 +0000 (08:46 -0400)
Roberto Mello

Discussion: http://postgr.es/m/CAKz==bJBCWrvN77fmuZ2XqD3jazWEb=E80AA4Yv9C9tQ61YDdQ@mail.gmail.com

doc/src/sgml/config.sgml

index 3777cfa52a71433fac1ec469116c58dd9970b7aa..698169afdb6aa7fee168de64d44deea8bcb24aa0 100644 (file)
@@ -707,6 +707,12 @@ include_dir 'conf.d'
         only be set at server start.
        </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