Re: log file rotate

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log file rotate
Date: 2004-08-08 10:15:01
Message-ID: 4115FD25.6000201@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Give me a use case that requires that, and is sufficiently interesting
> to justify even a marginal decrease in the reliability of the log
> process.
>
> Frankly, I do not believe that database users should have anything to do
> with the log rotation process.

The (super)user will sometimes purge old files, so he *does* have to do
something with the rotation process' output. It's up to him what he
regards as old, maybe everything before 'now'.

YAUC (yet another use case): rotating every day at 3 am.

Regards,
Andreas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-08-08 10:29:46 switch WAL segment
Previous Message Andreas Pflug 2004-08-08 10:06:41 Re: log file rotate