Re: starting the postmaster

Поиск
Список
Период
Сортировка
От John Taylor
Тема Re: starting the postmaster
Дата
Msg-id 02030808384000.01626@splash.hq.jtresponse.co.uk
обсуждение исходный текст
Ответ на Re: starting the postmaster  (Brian <Brrrian@Excite.com>)
Список pgsql-novice
On Friday 08 March 2002 01:15, Brian wrote:
> Hi John,
>
> I am getting a FAILED notice on your construction.
>
> if I delete the   >/dev/null 2>&1   I can see:
>
> /usr/bin/pg_ctl: /usr/bin/postmaster -i: No such file or directory
>
> as a response...
>

Hmmm...
That works for me with postgres 7.1, but having looked at the pg_ctl manual page, it probably isn't the
best way to do it.

You probably need to use the -o option to pg_ctl ...
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o '-i' start  > /dev/null 2>&1" <
/dev/null

Regards
JohnT

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Postmaster with -i
Следующее
От: "Henshall, Stuart - WCP"
Дата:
Сообщение: Re: Size of the empty database