Re: Createdb Problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Createdb Problems
Дата
Msg-id 1797.1068241265@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Createdb Problems  ("Louise Cofield" <lcofield@box-works.com>)
Ответы Re: Createdb Problems  ("Louise Cofield" <lcofield@box-works.com>)
Список pgsql-novice
"Louise Cofield" <lcofield@box-works.com> writes:
> The initdb seemed to go fine, the postmaster is running in the
> background, but createdb testdb results in this:

> FATAL:  user "postgres" does not exist
> psql: FATAL:  user "postgres" does not exist
> createdb:  database creation failed

> whoami shows that I am clearly "postgres"

Sounds like you weren't postgres when you ran initdb.  The only
initially existing PG user will have the name of the Unix user
who ran initdb.  Check the ownership of the files under $PGDATA if
you aren't sure what you did.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Louise Cofield"
Дата:
Сообщение: Createdb Problems
Следующее
От: "Louise Cofield"
Дата:
Сообщение: Re: Createdb Problems