Francesco Protano writes:
> 1) su - username
> 2) set PGDATA2 = "/home/username" (but i tried
> relatives path too)
> 3) initlocation $PGDATA2
> 4) createdb -D $PGDATA2 mydb
initlocation PGDATA2
createdb -D PGDATA2 mydb
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/