Re: about createdb err - Mailing list pgsql-bugs

From Tom Lane
Subject Re: about createdb err
Date
Msg-id 3714.993219284@sss.pgh.pa.us
Whole thread Raw
In response to about createdb err  ("楊 慧泉" <yanghq@gmo.jp>)
List pgsql-bugs
"楊 慧泉" <yanghq@gmo.jp> writes:
> $ bash createdb test
> NOTICE:  database directory '/usr/local/pgsql/data/base/18749' could not be
> removed
> ERROR:  CREATE DATABASE: could not initialize database directory; delete
> failed as well
> NOTICE:  database directory '/usr/local/pgsql/data/base/18749' could not be
> removed
> ERROR:  CREATE DATABASE: could not initialize database directory; delete
> failed as well
> createdb: database creation failed

Look in the postmaster log (its stderr output) to see why 'cp' or 'rm'
failed.
        regards, tom lane


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange \copy failure
Next
From: Jeremy D Carlson
Date:
Subject: Truncation Problems