.\" This is -*-nroff-*-
.\" 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
.SH NAME
initdb \(em initalize the database templates and primary directories
.SH SYNOPSIS
.BR "initdb"
[\c
-.BR "-v"
-]
-[\c
.BR "-d"
]
[\c
.BR "-n"
]
+[\c
+.BR "-r directory"
+]
+[\c
+.BR "-t"
+]
+[\c
+.BR "-u username"
+]
+[\c
+.BR "-v"
+]
.SH DESCRIPTION
.IR Initdb
sets up the initial template databases and is normally executed as
.IR Initdb
understands the following command-line options:
.TP
-.BR "-v"
-Produce verbose output, printing messages stating where the
-directories are being created, etc.
-.TP
.BR "-d"
Print debugging output from the backend server. This option generates
a tremendous amount of information. This option also turns off the
cleans up (recursively unlinks) the data directory if any error
occurs, which also removes any core files left by the backend server.
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
.TP
\&$PGDATA/base