Missed a few places that referred to a compile-time limit on
authorTom Lane
Fri, 7 Sep 2001 00:46:42 +0000 (00:46 +0000)
committerTom Lane
Fri, 7 Sep 2001 00:46:42 +0000 (00:46 +0000)
max_connections.

doc/src/sgml/runtime.sgml
src/backend/postmaster/postmaster.c
src/backend/utils/misc/postgresql.conf.sample

index 6e80adf00ebb459194a30f62c17d4a944460168d..1347e80eed6e5606906389aa59b0feb681a891ab 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1145,10 +1145,8 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
       
        
         Determines how many concurrent connections the database server
-        will allow. The default is 32. There is also a compiled-in
-        hard upper limit on this value, which is typically 1024
-   (both numbers can be altered when compiling the server). This
-        parameter can only be set at server start.
+        will allow. The default is 32 (unless altered while building
+   the server). This parameter can only be set at server start.
        
       
      
@@ -1760,7 +1758,7 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
     Postgres uses one semaphore per allowed connection
     (
     contain a 17th semaphore which contains a magic
-    number, to avoid collision with semaphore sets used by
+    number, to detect collision with semaphore sets used by
     other applications. The maximum number of semaphores in the system
     is set by SEMMNS, which consequently must be at least
     as high as the connection setting plus one extra for each 16
index 31521f5de43759ae7868136cc222623c352560e6..5cdf81cd8fadfd7fa8a94a4732f9c4f91307a7ab 100644 (file)
@@ -37,7 +37,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.238 2001/09/07 00:27:29 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.239 2001/09/07 00:46:42 tgl Exp $
  *
  * NOTES
  *
@@ -480,11 +480,7 @@ PostmasterMain(int argc, char *argv[])
                 */
                break;
            case 'N':
-
-               /*
-                * The max number of backends to start. Can't set to less
-                * than 1 or more than compiled-in limit.
-                */
+               /* The max number of backends to start. */
                SetConfigOption("max_connections", optarg, PGC_POSTMASTER, true);
                break;
            case 'n':
index f1582d6bacbe687f29c9a58417afc960d281d820..2d5ac37cae674df7641df391c7b28c3f6f81e0cf 100644 (file)
@@ -7,17 +7,14 @@
 #   name = value
 #
 # (The `=' is optional.) White space is collapsed, comments are
-# introduced by `#' anywhere on a line. The complete list of option
+# introduced by `#' anywhere on a line.  The complete list of option
 # names and allowed values can be found in the PostgreSQL
-# documentation. Examples are:
-
-#log_connections = on
-#fsync = off
-#max_connections = 64
+# documentation.  The commented-out settings shown in this file
+# represent the default values.
 
 # Any option can also be given as a command line switch to the
 # postmaster, e.g., 'postmaster -c log_connections=on'. Some options
-# can be set at run-time with the 'SET' SQL command.
+# can be changed at run-time with the 'SET' SQL command.
 
 
 #========================================================================
@@ -29,7 +26,7 @@
 #tcpip_socket = false
 #ssl = false
 
-#max_connections = 32 # 1-1024
+#max_connections = 32
 
 #port = 5432 
 #hostname_lookup = false