Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 1626.1093633344@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> If the PID isn't there is there a danger of different postmasters
> clobbering each other's logs?

Only if they're logging into the same directory with the same filename
pattern.  This isn't the default (the default log_directory is under
$PGDATA), and so I'm not that worried now that I think about it carefully.
I'm coming around to agree with Ed's position that it's not worth the
trouble to provide more than the strftime escapes.

            regards, tom lane

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()