Re: startup scripts don't function properly

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: startup scripts don't function properly
Дата
Msg-id Pine.LNX.4.30.0104192129040.762-100000@peter.localdomain
обсуждение исходный текст
Ответ на startup scripts don't function properly  (VASQUEZ_JASON@LILLY.COM)
Список pgsql-bugs
VASQUEZ_JASON@LILLY.COM writes:

> 1.  The "su" commands for start/stop/restart/status are in the form of "su
> -".  This picks up the environment of the postgres user, which wipes out
> the environment variables that were set earlier in this script (e.g.,
> PGDATA).  Quick solution is to remove the extra dashes.

I have added -D options to the pg_ctl invocation.  Leaving in the '-' is
probably a good idea.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RAISE concatination/variables in plpgsql
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG??, fault in POSTMASTER when using GMAKE