Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group