.\" 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 NAMEinitlocation \(em create a new Postgres storage area.SH SYNOPSIS.BR "initlocation".IR "directory".PP.BR "initlocation".IR "$environment_variable".SH DESCRIPTION.IR initlocationcreates a new Postgres database storage area. A storage area containsdistinct Postgres databases, with each database in a separate directoryand managed by a single postmaster..PPCreating a database storage area consists of creating the directories in whichthe database data will live.There are 2 types of arguments for.IR initlocation .First, you can specify an explicitabsolute 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).