Re: install problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: install problem
Дата
Msg-id 5673.1032967791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на install problem  (sol <sol@autonomon.net>)
Список pgsql-novice
sol <sol@autonomon.net> writes:
> The automated install script is:

> su - postgres -c cd /var/lib/postgres; . ./.profile; LANG=C initdb
> --encoding SQL_ASCII --pgdata /var/lib/postgres/data

> The next line says:
> Unknown id: -

Hm.  Could this error be coming from su itself?  "su - foo" is a
SysV-ism that means "log in as foo and run his profile script",
but I believe there are variants of su that don't understand the -
switch.

As someone already pointed out, there is no such error message in
Postgres itself, so you need to be looking elsewhere ... and you
might not need to look further than the su command.  If the su
syntax is okay for your platform, I'd wonder about the ./.profile
invocation next.

            regards, tom lane

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

Предыдущее
От: "Phillip J. Allen"
Дата:
Сообщение: Make a table of unique words from text Column?
Следующее
От: "Phillip J. Allen"
Дата:
Сообщение: Re: Question about cygwin/Postgre