diff options
author | Tom Lane | 1999-05-22 17:47:54 +0000 |
---|---|---|
committer | Tom Lane | 1999-05-22 17:47:54 +0000 |
commit | cf1478982cbe5637f0e78f88a28bf5d8ecfb389f (patch) | |
tree | 712d801ce2b81e4c87f7b6e7f7ea9cab6c7f3168 /src/man | |
parent | e9edb3ef92363b53c576767cae60847f94fac0c6 (diff) |
Modify backend switch parsing to prevent 'insecure' switches
from being accepted when they are passed from client connection request.
Get rid of a couple that no longer do anything (like -P).
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/postgres.1 | 21 | ||||
-rw-r--r-- | src/man/postmaster.1 | 4 |
2 files changed, 8 insertions, 17 deletions
diff --git a/src/man/postgres.1 b/src/man/postgres.1 index 244f5f840f..2ac0cc0144 100644 --- a/src/man/postgres.1 +++ b/src/man/postgres.1 @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/postgres.1,v 1.15 1999/05/19 23:30:43 tgl Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/postgres.1,v 1.16 1999/05/22 17:47:47 tgl Exp $ .TH POSTGRESQL UNIX 05/19/99 PostgreSQL PostgreSQL .SH NAME postgres - the Postgres backend server @@ -25,13 +25,10 @@ data_directory] .BR "-O" ] [\c -.BR "-P" -filedes] -[\c .BR "-Q" ] [\c -.BR "-S n_buffers" +.BR "-S kbytes" ] [\c .BR "-d" @@ -111,17 +108,10 @@ while a transaction is in progress will probably cause data loss. .BR "-O" Override restrictions, so system table structures can be modified(pg_*). .TP -.BR "-P" " filedes" -.IR "filedes" -specifies the file descriptor that corresponds to the socket (port) on -which to communicate to the frontend process. This option is -.BR not -useful for interactive use. -.TP .BR "-Q" Specifies \*(lqquiet\*(rq mode. .TP -.BR "-S" +.BR "-S" " kbytes" Specifies the amount of memory to be used by internal sorts and hashes before resorting to temporary disk files. The value is specified in kilobytes, and defaults to 512 kilobytes. Note that for a complex query, @@ -201,11 +191,12 @@ plan types if it has any other alternative.) .BR "-i" Prevents query execution, but shows the plan tree. .TP -.BR "-p" +.BR "-p" " databasename" Indicates to the backend server that it has been started by a .IR postmaster and make different assumptions about buffer pool management, file -descriptors, etc. +descriptors, etc. Switches following -p are restricted to those +considered "secure". .TP .BR "-t" "pa[rser]|pl[anner]|e[xecutor]" Print timing statistics for each query relating to each of the major diff --git a/src/man/postmaster.1 b/src/man/postmaster.1 index 5bf5e94e90..3849a854f9 100644 --- a/src/man/postmaster.1 +++ b/src/man/postmaster.1 @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/postmaster.1,v 1.16 1999/05/19 23:30:43 tgl Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/postmaster.1,v 1.17 1999/05/22 17:47:48 tgl Exp $ .TH POSTMASTER UNIX 05/19/99 PostgreSQL PostgreSQL .SH "NAME" postmaster - run the Postgres postmaster @@ -90,7 +90,7 @@ set at compile-time is used. .IR "n_backends" is the maximum number of backend server processes that this postmaster is allowed to start. In the stock configuration, this value defaults -to 64, and can be set as high as 1024 if your system will support that +to 32, and can be set as high as 1024 if your system will support that many processes. Both the default and upper limit values can be altered when building Postgres (see src/include/config.h). .TP |