> 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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to