Re: log file rotate - Mailing list pgsql-hackers

From Tom Lane
Subject Re: log file rotate
Date
Msg-id 5494.1091936419@sss.pgh.pa.us
Whole thread Raw
In response to log file rotate  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: log file rotate  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: log file rotate  (Andreas Pflug <pgadmin@pse-consulting.de>)
Re: log file rotate  (Andreas Pflug <pgadmin@pse-consulting.de>)
switch WAL segment  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, you didn't like Andreas' idea of allowing the user to rotate the
> log files on demand.

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.  Do we have a TODO for allowing users to
force switching to a new WAL file segment?

> Is this a TODO?

IMHO, no.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: beta time
Next
From: Bruce Momjian
Date:
Subject: Re: log file rotate