Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 4132087A.50106@pse-consulting.de
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Jan Wieck wrote:
  but allows to setup a
> configuration that automatically overwrites files in a rotating manner,
> if the DBA so desires.

... which can't work because it will overwrite the logfile on server
start, and thus will overwrite the very latest logfile when performing
multiple restarts. We had discussions how to identify a logfile's start
time, and agreed that the file's creation/modification time can *not* be
used for that. That's why the name has a fixed and well-known timestamp
format.

Regards,
Andreas

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

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