Re: initlocation and createdb

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: Barnes <aardvark(at)ibm(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: initlocation and createdb
Date: 2000-06-14 02:50:11
Message-ID: 200006140250.WAA19305@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Looking at the documentation, David is apparently following this one,
> which seems wrong...
>
> http://www.postgresql.org/docs/postgres/app-initlocation.htm
>
> Seems like it should be updated to the following:
>
> $ export PGDATA2=/opt/postgres/data
> $ initlocation $PGDATA2
> $ createdb testdb -D $PGDATA2

I have fixed the docs source, but I don't think the docs have been
regenerated since the fix weeks ago. The postmaster must have PGDATA2
defined in its environment.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Hoffmann 2000-06-14 03:54:35 Re: initlocation and createdb
Previous Message chongmc 2000-06-14 01:05:05 c compiler cannot create executables