1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<!-- manual page source format generated by PolyglotMan v3.0.4, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
<HTML>
<HEAD>
<TITLE>INITDB(UNIX) manual page</TITLE>
</HEAD>
<BODY>
<A HREF="pgsql.html">PostgreSQL Contents</A>
<H2><A NAME="sect0" HREF="#toc0">NAME </A></H2>
initlocation - create a new Postgres storage area
<H2><A NAME="sect1" HREF="#toc1">SYNOPSIS </A></H2>
<B>initlocation</B>
<I>directory</I> <P>
<B>initlocation</B> <I>$environment_variable</I> <P>
<H2><A NAME="sect2" HREF="#toc2">DESCRIPTION </A></H2>
<I>initlocation</I>
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. <P>
Creating a database storage area consists of creating
the directories in which the database data will live. There are 2 types
of arguments for <I>initlocation</I>. 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 <I>create database</I>. In either case
Postgres will add /base/ to the specified path to create the storage area.
<P>
<H2><A NAME="sect3" HREF="#toc3">SEE ALSO </A></H2>
<A HREF="create_database.l.html">create_database(l)</A>
, <A HREF="initdb.1.html">initdb(1)</A>
. <P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">NAME</A></LI>
<LI><A NAME="toc1" HREF="#sect1">SYNOPSIS</A></LI>
<LI><A NAME="toc2" HREF="#sect2">DESCRIPTION</A></LI>
<LI><A NAME="toc3" HREF="#sect3">SEE ALSO</A></LI>
</UL>
</BODY></HTML>
|