Re: RedHat startup script and environment variables in 7.1.2?

Поиск
Список
Период
Сортировка
От Steve Wampler
Тема Re: RedHat startup script and environment variables in 7.1.2?
Дата
Msg-id 3B8524ED.EED61835@noao.edu
обсуждение исходный текст
Список pgsql-general
Steve Wampler wrote:
>
> It looks as though the init.d script "postgres" supplied with
> 7.1.2 no longer propagates environment variables to pg_ctl.  Was that
> an intentional change?  Or is this something no one else sees?
>
> I put databases off on their own partition, away from /var/lib/pgsql.
> In the base, all I had to do was add:

Sigh, "In the *past*,..."

> export SOLISDB=.....
>
> into /etc/rc.d/init.d/postgres to use createdb --location SOLISDB
>
> but I just noticed that this isn't working with 7.1.2.  Instead, I
> have to put the export directly into /usr/bin/pg_ctl - which I'm not
> particularly fond of doing.
>
> Thanks!
>
> --
> Steve Wampler-  SOLIS Project, National Solar Observatory
> swampler@noao.edu

--
Steve Wampler-  SOLIS Project, National Solar Observatory
swampler@noao.edu

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

Предыдущее
От: Gilles DAROLD
Дата:
Сообщение: Problem with libpsqlodbc
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: SELECT FOR UPDATE