aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-11-07 06:40:45 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-11-07 06:40:45 +0000
commitb2905ea43a53091bdf905b23d512dad98ecfcd92 (patch)
tree55374ae0d05b17d72c594eb164155a00bf5cf9cf
parent7d1f2f8a270681f463a1ec5e433688248c58cc97 (diff)
downloadpostgresql-b2905ea43a53091bdf905b23d512dad98ecfcd92.tar.gz
postgresql-b2905ea43a53091bdf905b23d512dad98ecfcd92.zip
Describe new command to create alternate database locations.
-rw-r--r--src/man/initlocation.133
1 files changed, 33 insertions, 0 deletions
diff --git a/src/man/initlocation.1 b/src/man/initlocation.1
new file mode 100644
index 00000000000..d419b87c77c
--- /dev/null
+++ b/src/man/initlocation.1
@@ -0,0 +1,33 @@
+.\" This is -*-nroff-*-
+.\" $Header: /cvsroot/pgsql/src/man/Attic/initlocation.1,v 1.1 1997/11/07 06:40:45 thomas Exp $
+.TH INITDB UNIX 11/05/97 PostgreSQL
+.SH NAME
+initlocation \(em create a new Postgres storage area
+.SH SYNOPSIS
+.BR "initlocation"
+.IR "directory"
+.PP
+.BR "initlocation"
+.IR "$environment_variable"
+
+.SH DESCRIPTION
+.IR initlocation
+creates a new Postgres database storage area. A storage area contains
+distinct Postgres databases, with each database in a separate directory
+and managed by a single postmaster.
+.PP
+Creating a database storage area consists of creating the directories in which
+the database data will live.
+There are 2 types of arguments for
+.IR initlocation .
+First, you can specify an explicit
+absolute path to the top directory of the storage area.
+Second, you can specify an environment variable (e.g. $PGDATA2).
+This environment variable should be known to the backend for later use in
+.IR "create database" .
+In either case Postgres will add /base/
+to the specified path to create the storage area.
+
+.SH "SEE ALSO"
+create_database(l),
+initdb(1).