createdb confusion - Mailing list pgsql-general

From newsreader@mediaone.net
Subject createdb confusion
Date
Msg-id 20010808201635.A16951@dragon.universe
Whole thread Raw
Responses Re: createdb confusion  (newsreader@mediaone.net)
List pgsql-general
man creatdb says -D supposed to be specify the
alternative location

I try (as postgres user)

$ createdb -D /bla bla

and it says

    absolute path are not allowed.

Then I read man initlocation.  The example
I see is

$ initlocation /opt/postgres/data
$ createdb -D /opt/postgres/data/testdb testdb

so I do the same and it fails with the same reason

Does anyone have any idea?

thanks


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: AlterTableAddConstraint:
Next
From: newsreader@mediaone.net
Date:
Subject: Re: createdb confusion