Rotate on time boundaries that are sensible per local time rather than GMT.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 95f20b96d4f76480044d86d6c30c85fb50954978
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-21T00:21:25Z
Releases: 8.0.0
Rotate on time boundaries that are sensible per local time rather than GMT.
Also, avoid truncating the file we just wrote into, which might otherwise
easily happen at DST boundaries.  Ed L. and Tom Lane.

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +27 −5