Re: pg_ctl changes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl changes
Дата
Msg-id 11241.981584398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_ctl changes  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I've implemented the following changes in pg_ctl:

Sounds good to me.

> * Add -l option to name log file.  If the option is omitted, then the
> postmaster log goes to stdout, so you can use 'pg_ctl ... > log' and still
> get pg_ctl's stderr on the terminal.

Let's see if I've got this straight --- the postmaster's stdout and
stderr go to the -l file (by default pg_ctl's stdout), while pg_ctl's
own stderr is kept separate for failure notices?  That seems like it
will work ... in particular one could imagine doingpg_ctl start | log_splitter_process
to handle log rotation stuff.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pg_ctl changes
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: pg_ctl changes