On Wed, 22 Mar 2000, Stefano Bargioni wrote:

> Dear Peter, thank you, the manual has an error: in the initlocation command,
> the $ must be deleted; but there is still a problem with createdb:

Yes, thank you.

> $ createdb -D PGDATA2 ucc2
> ERROR:  Unable to locate path 'PGDATA2/ucc2'
>         This may be due to a missing environment variable in the server
> createdb: database creation failed on ucc2.

Maybe this is a stupid question, but have you actually created and
exported the environment variable PGDATA in the environment of the
postmaster before you started it?

The above should be the way to go but I'd have to go and read the code to
check.

-- 
Peter Eisentraut                  Sernanders v�g 10:115
[EMAIL PROTECTED]                   75262 Uppsala
http://yi.org/peter-e/            Sweden

Reply via email to