mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Manual changes for initdb.sh change.
This commit is contained in:
parent
a14bf40b88
commit
00ec211aa8
@ -1,20 +1,29 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" XXX standard disclaimer belongs here....
|
||||||
.\" $Header: /cvsroot/pgsql/doc/man/Attic/initdb.1,v 1.1.1.1 1996/08/18 22:14:24 scrappy Exp $
|
.\" $Header: /cvsroot/pgsql/doc/man/Attic/initdb.1,v 1.2 1996/10/03 00:25:53 momjian Exp $
|
||||||
.TH INITDB UNIX 11/05/95 Postgres95 Postgres95
|
.TH INITDB UNIX 11/05/95 Postgres95 Postgres95
|
||||||
.SH NAME
|
.SH NAME
|
||||||
initdb \(em initalize the database templates and primary directories
|
initdb \(em initalize the database templates and primary directories
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BR "initdb"
|
.BR "initdb"
|
||||||
[\c
|
[\c
|
||||||
.BR "-v"
|
|
||||||
]
|
|
||||||
[\c
|
|
||||||
.BR "-d"
|
.BR "-d"
|
||||||
]
|
]
|
||||||
[\c
|
[\c
|
||||||
.BR "-n"
|
.BR "-n"
|
||||||
]
|
]
|
||||||
|
[\c
|
||||||
|
.BR "-r directory"
|
||||||
|
]
|
||||||
|
[\c
|
||||||
|
.BR "-t"
|
||||||
|
]
|
||||||
|
[\c
|
||||||
|
.BR "-u username"
|
||||||
|
]
|
||||||
|
[\c
|
||||||
|
.BR "-v"
|
||||||
|
]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.IR Initdb
|
.IR Initdb
|
||||||
sets up the initial template databases and is normally executed as
|
sets up the initial template databases and is normally executed as
|
||||||
@ -32,10 +41,6 @@ must be executed by the Postgres super-user.
|
|||||||
.IR Initdb
|
.IR Initdb
|
||||||
understands the following command-line options:
|
understands the following command-line options:
|
||||||
.TP
|
.TP
|
||||||
.BR "-v"
|
|
||||||
Produce verbose output, printing messages stating where the
|
|
||||||
directories are being created, etc.
|
|
||||||
.TP
|
|
||||||
.BR "-d"
|
.BR "-d"
|
||||||
Print debugging output from the backend server. This option generates
|
Print debugging output from the backend server. This option generates
|
||||||
a tremendous amount of information. This option also turns off the
|
a tremendous amount of information. This option also turns off the
|
||||||
@ -47,6 +52,19 @@ Run in \*(lqnoclean\*(rq mode. By default,
|
|||||||
cleans up (recursively unlinks) the data directory if any error
|
cleans up (recursively unlinks) the data directory if any error
|
||||||
occurs, which also removes any core files left by the backend server.
|
occurs, which also removes any core files left by the backend server.
|
||||||
This option inhibits any tidying-up.
|
This option inhibits any tidying-up.
|
||||||
|
.TP
|
||||||
|
.BR "-r directory"
|
||||||
|
Use the specified data directory.
|
||||||
|
.TP
|
||||||
|
.BR "-t"
|
||||||
|
Update template database only.
|
||||||
|
.TP
|
||||||
|
.BR "-u username"
|
||||||
|
Run as the specified username.
|
||||||
|
.TP
|
||||||
|
.BR "-v"
|
||||||
|
Produce verbose output, printing messages stating where the
|
||||||
|
directories are being created, etc.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP
|
.TP
|
||||||
\&$PGDATA/base
|
\&$PGDATA/base
|
||||||
|
Loading…
Reference in New Issue
Block a user