[DOCS] Log rotation note - Mailing list pgsql-docs

From Thom Brown
Subject [DOCS] Log rotation note
Date
Msg-id CAA-aLv7PvCxMCiKej-4oUGqyCv1DZFLhGcqBanFBQb7rxxa92g@mail.gmail.com
Whole thread Raw
List pgsql-docs
Hi,

I'd like to suggest inserting a note in the docs, around
log_rotation_age and log_rotation_size, that will explain why the logs
might not rotate sometimes.

Something along the lines of: "Note:  If, at the time log rotation is
due, the new name of the log file is identical to the previous one,
log rotation will not occur and the log will continue to be written to
the current file."

While we already have an explanation as to why log rotation may not
occur at all in the log_filename section, but I think this is worth
adding to explain why it may skip one or more rotations.

Thoughts?

Thom


pgsql-docs by date:

Previous
From: djanoiup@yahoo.fr
Date:
Subject: [DOCS] Back-and-forth link on GIN Indexes
Next
From: Erwin Brandstetter
Date:
Subject: [DOCS] to_char(): 'FM' also suppresses *trailing* zeroes