Re: Creating Log file - run in background.

Поиск
Список
Период
Сортировка
От Chris
Тема Re: Creating Log file - run in background.
Дата
Msg-id 4.3.2.7.2.20001214121339.00b29b30@203.25.173.1
обсуждение исходный текст
Ответ на Re: Creating Log file - run in background.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Oops, thanks. I misread it.

after all that, it should be
nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
</dev/null >> /usr/local/pgsql/logs/server.log 2>>1 &

where logs = your pgsql log directory :)

> >> Should the command look like this than:
> >> nohup /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data/server.log &
>
> > That should work, yep.
>
>Uh, nope.
>
>That will try to use /usr/local/pgsql/data/server.log as a directory.
>
>Your original advice was better.
>
>                         regards, tom lane


------------------------
Chris Smith
http://www.squiz.net


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Creating Log file - run in background.
Следующее
От: Aarmel
Дата:
Сообщение: Dumping Large Object