Re: log_filename_prefix --> log_filename + strftime()

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Ed L(dot)" <pgsql(at)bluepolka(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-29 16:46:50
Message-ID: 4132087A.50106@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Piskorski 2004-08-29 17:48:07 Re: Contrib -- PostgreSQL shared variables
Previous Message Andreas Pflug 2004-08-29 16:34:19 Re: Win32 bug fix