Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 41322C83.9080608@Yahoo.com
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On 8/29/2004 2:06 PM, Tom Lane wrote:
> Andreas Pflug <pgadmin@pse-consulting.de> writes:
>> 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.
>
> You are ignoring a critical part of the proposal, which is to overwrite
> only during a time-based rotation; at logger startup or size-based
> rotation, the rule would be to append.

which then has a problem when you startup the postmaster after 10 hours
of downtime ... hmmm.


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #

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

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