Re: [SQL] install problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] install problem
Дата
Msg-id 13201.921510548@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [SQL] install problem  (Eric J McKeown <ericm@palaver.net>)
Список pgsql-docs
Eric J McKeown <ericm@palaver.net> writes:
> when I attempt to run initdb, I get this message every time:
> Only the unix superuser may initialize a database with a different
> Postgres superuser.  (You must be able to create files that belong
> to the specified unix user).

Eric, check the setting of your USER environment variable.  It must be
set and set correctly, because that's what initdb looks at (ditto for
the Postgres regression tests, BTW, and perhaps other stuff).  At least
on my system, USER is not updated by "su", for example.

> I've checked the FAQ, but it doesn't seem to cover this one.

This oughta be mentioned in the documentation somewhere :-(

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [DOCS] Correction to a pgsql doc page (fwd)
Следующее
От: Eric J McKeown
Дата:
Сообщение: Re: [SQL] install problem