a "postgres.log"

Поиск
Список
Период
Сортировка
От Chris Gamache
Тема a "postgres.log"
Дата
Msg-id 20020626181533.7665.qmail@web13802.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
METHOD #1:

server:~# su postgres -c "/usr/local/bin/pg_ctl -o "-i"
-D /usr/local/pgsql/data -l /usr/local/pgsql/data/postgres.log start
1>/dev/null 2>&1"

METHOD #2:

server:~# su postgres -c "nohup /usr/local/pgsql/bin/pg_ctl -o "-i"
-D /usr/local/pgsql/data start $@ >/usr/local/pgsql/data/postgres.log 2>&1
</dev/null&"

What's the difference?

I can't seem to get postmaster to release the filehandle when I want to archive
the postgres.log when I use method #2... I've tried sending it a SIGHUP, but it
just won't give it up. Would method #1 give it up upon receiving a sighup, or
re-running the pg_ctl with "restart" instead of "start" ...

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



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

Предыдущее
От: Doug Fields
Дата:
Сообщение: Re: Shared Memory Sizing
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: What is a tuple?