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