Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e67bb7af
Commit
e67bb7af
authored
Sep 07, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed a few places that referred to a compile-time limit on
max_connections.
parent
4d8ce9bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+4
-6
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+2
-6
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+5
-8
No files found.
doc/src/sgml/runtime.sgml
View file @
e67bb7af
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.7
5 2001/08/15 18:42:14 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.7
6 2001/09/07 00:46:41 tgl
Exp $
-->
-->
<Chapter Id="runtime">
<Chapter Id="runtime">
...
@@ -1145,10 +1145,8 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
...
@@ -1145,10 +1145,8 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
<listitem>
<listitem>
<para>
<para>
Determines how many concurrent connections the database server
Determines how many concurrent connections the database server
will allow. The default is 32. There is also a compiled-in
will allow. The default is 32 (unless altered while building
hard upper limit on this value, which is typically 1024
the server). This parameter can only be set at server start.
(both numbers can be altered when compiling the server). This
parameter can only be set at server start.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -1760,7 +1758,7 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
...
@@ -1760,7 +1758,7 @@ dynamic_library_path = '/usr/local/lib:/home/my_project/lib:$libdir:$libdir/cont
<productname>Postgres</> uses one semaphore per allowed connection
<productname>Postgres</> uses one semaphore per allowed connection
(<option>-N</> option), in sets of 16. Each such set will also
(<option>-N</> option), in sets of 16. Each such set will also
contain a 17th semaphore which contains a <quote>magic
contain a 17th semaphore which contains a <quote>magic
number</quote>, to
avoid
collision with semaphore sets used by
number</quote>, to
detect
collision with semaphore sets used by
other applications. The maximum number of semaphores in the system
other applications. The maximum number of semaphores in the system
is set by <varname>SEMMNS</>, which consequently must be at least
is set by <varname>SEMMNS</>, which consequently must be at least
as high as the connection setting plus one extra for each 16
as high as the connection setting plus one extra for each 16
...
...
src/backend/postmaster/postmaster.c
View file @
e67bb7af
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.23
8 2001/09/07 00:27:29
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.23
9 2001/09/07 00:46:42
tgl Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -480,11 +480,7 @@ PostmasterMain(int argc, char *argv[])
...
@@ -480,11 +480,7 @@ PostmasterMain(int argc, char *argv[])
*/
*/
break
;
break
;
case
'N'
:
case
'N'
:
/* The max number of backends to start. */
/*
* The max number of backends to start. Can't set to less
* than 1 or more than compiled-in limit.
*/
SetConfigOption
(
"max_connections"
,
optarg
,
PGC_POSTMASTER
,
true
);
SetConfigOption
(
"max_connections"
,
optarg
,
PGC_POSTMASTER
,
true
);
break
;
break
;
case
'n'
:
case
'n'
:
...
...
src/backend/utils/misc/postgresql.conf.sample
View file @
e67bb7af
...
@@ -7,17 +7,14 @@
...
@@ -7,17 +7,14 @@
# name = value
# name = value
#
#
# (The `=' is optional.) White space is collapsed, comments are
# (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
# names and allowed values can be found in the PostgreSQL
# documentation. Examples are:
# documentation. The commented-out settings shown in this file
# represent the default values.
#log_connections = on
#fsync = off
#max_connections = 64
# Any option can also be given as a command line switch to the
# Any option can also be given as a command line switch to the
# postmaster, e.g., 'postmaster -c log_connections=on'. Some options
# 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 @@
...
@@ -29,7 +26,7 @@
#tcpip_socket = false
#tcpip_socket = false
#ssl = false
#ssl = false
#max_connections = 32
# 1-1024
#max_connections = 32
#port = 5432
#port = 5432
#hostname_lookup = false
#hostname_lookup = false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment