Provided by:
manpages-zh_1.5.2-1_all 
NAME
postmaster - PostgreSQL
SYNOPSIS
postmaster [ -A 0 | 1 ] [ -B nbuffers ] [ -c name=value ] [ -d debug-
level ] [ -D datadir ] [ -F ] [ -h hostname ] [ -i ] [ -k directory ] [
-l ] [ -N max-connections ] [ -o extra-options ] [ -p port ] [ -S ] [
--name=value ] [ -n | -s ]
DESCRIPTION
postmaster PostgreSQL postmaster postmaster "postgres" postmaster
postmaster postmaster
postmaster postmaster "" -D PGDATA postmaster initdb(1)
OPTIONS
postmaster Section 16.4 ``Run-time Configuration''
-A 0|1
-B nbuffers
64 8k
-c name=value
Section 16.4 ``Run-time Configuration'' -c
-d debug-level
1 5
-D datadir
-F
fsync postgresql.conf fsync=false
--fsync=true
-h hostname
postmaster TCP localhost
-i
TCP/IP Unix postgresql.conf tcpip_socket=true
--tcpip-socket=false
-k directory
postmaster Unix /tmp
-l
SSL -i SSL
-N max-connections
postmaster 32 src/include/config.h -B -N Section 16.5
``Managing Kernel Resources''
-o extra-options
extra-options postgres postmaster postgres(1)
-p port
postmaster TCP/IP Unix PGPORT PGPORT PostgreSQL 5432
psql PGPORT
-S
postmaster tty /dev/null
postmaster
--silent-mode=false
--name=value
-c
postmaster
-n postmaster
-s postmaster SIGSTOP core dumps
ENVIRONMENT
PGCLIENTENCODING
PGDATA
PGDATESTYLE
datestyle
PGPORT
TZ
Section 18.5 ``Managing Databases''
DIAGNOSTICS
semget shmget Section 16.5 ``Managing Kernel Resouces''
Tip: : shared_buffers PostgreSQL max_connectionsPostgreSQL
postmaster postmaster
$ ps ax | grep postmaster
$ ps -ef | grep postmaster
postmaster
PostgreSQL postmaster Unix 1024 "" Unix
NOTES
SIGKILL postmaster postmaster
postmaster SIGTERMSIGINT SIGQUIT
pg_ctl(1) postmaster
-- FreeBSD OpenBSD -c PostgreSQL
EXAMPLES
postmaster
$ nohup postmaster >logfile 2>&1 </dev/null &
postmaster
$ postmaster -p 1234
1234 postmaster psql postmaster psql run it as
$ psql -p 1234
PGPORT
$ export PGPORT=1234
$ psql
$ postmaster -c sort_mem=1234
$ postmaster --sort-mem=1234
postgresql.conf sort_mem
Tip: : postgresql.conf
SEE ALSO
initdb(1), pg_ctl(1)
Postgresql <laser@pgsqldb.org>