head	1.3;
access;
symbols
	SUPPORT:1.1.1.1
	PG95-DIST:1.1.1;
locks; strict;
comment	@.\" @;


1.3
date	96.11.14.10.14.33;	author scrappy;	state dead;
branches;
next	1.2;

1.2
date	96.10.03.00.25.53;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	96.08.18.22.14.24;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.08.18.22.14.24;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removed man pages...moved to src/man

Requested by Bryan
@
text
@.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /usr/local/cvsroot/postgres95-support/doc/man/initdb.1,v 1.2 1996/10/03 00:25:53 momjian Exp scrappy $
.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 "-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
part of the installation process.  The template database is created
under the directory specified by the the environment variable 
.SM PGDATA,
or to a default specified at compile-time.  The template database
is then 
.BR vacuum ed.
.PP
.IR Initdb
is a shell script that invokes the backend server directly.  Hence, it
must be executed by the Postgres super-user.
.PP
.IR Initdb
understands the following command-line options:
.TP
.BR "-d"
Print debugging output from the backend server.  This option generates
a tremendous amount of information.  This option also turns off the
final vacuuming step.
.TP
.BR "-n"
Run in \*(lqnoclean\*(rq mode.  By default, 
.IR initdb
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
The location of global (shared) classes.
.TP
\&$PGDATA/base/template1
The location of the template database.
.TP
\&$PGDATA/files/{global1,local1_template1}.bki
Command files used to generate the global and template databases,
generated and installed by the initial compilation process.
.SH "SEE ALSO"
createdb(1),
vacuum(l),
bki(files),
template(files).
@


1.2
log
@Manual changes for initdb.sh change.
@
text
@d3 1
a3 1
.\" $Header: /usr/local/cvsroot/postgres95-support/doc/man/initdb.1,v 1.1.1.1 1996/08/18 22:14:24 scrappy Exp $
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
.\" $Header: /usr/local/cvsroot/postgres95/doc/man/initdb.1,v 1.6 1996/07/31 18:42:58 scrappy Exp $
d10 10
a19 1
.BR "-v"
d22 1
a22 1
.BR "-d"
d25 1
a25 1
.BR "-n"
a43 4
.BR "-v"
Produce verbose output, printing messages stating where the
directories are being created, etc.
.TP
d55 13
@


1.1.1.1
log
@Support Docs & Contrib
@
text
@@
