createdb confusion

From: newsreader(at)mediaone(dot)net
To: pgsql-general(at)postgresql(dot)org
Subject: createdb confusion
Date: 2001-08-09 00:16:35
Message-ID: 20010808201635.A16951@dragon.universe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message newsreader 2001-08-09 00:23:45 Re: createdb confusion
Previous Message Tom Lane 2001-08-08 23:26:14 Re: ERROR: AlterTableAddConstraint: