Re: log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 4132087A.50106@pse-consulting.de
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: log_filename_prefix --> log_filename + strftime()
List 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 by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Win32 bug fix
Next
From: Tom Lane
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()