Re: initlocation and createdb - Mailing list pgsql-general

From Bruce Momjian
Subject Re: initlocation and createdb
Date
Msg-id 200006140250.WAA19305@candle.pha.pa.us
Whole thread Raw
In response to Re: initlocation and createdb  (Ed Loehr <eloehr@austin.rr.com>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: "Eric Fitzgerald"
Date:
Subject: ODBC connectivity and stored procedures
Next
From: Daniel Mendyke
Date:
Subject: Timestamp and compatiblity with MySQL