mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 07:49:20 +02:00
d038966ddb
We need to avoid calling WaitLatch with timeouts exceeding INT_MAX. Fortunately a simple clamp will do the trick, since no harm is done if the wait times out before it's really time to rotate the log file. Per bug #7670 (probably bug #7545 is the same thing, too). In passing, fix bogus definition of log_rotation_age's maximum value in guc.c --- it was numerically right, but only because MINS_PER_HOUR and SECS_PER_MINUTE have the same value. Back-patch to 9.2. Before that, syslogger wasn't using WaitLatch. |
||
---|---|---|
.. | ||
autovacuum.c | ||
bgwriter.c | ||
checkpointer.c | ||
fork_process.c | ||
Makefile | ||
pgarch.c | ||
pgstat.c | ||
postmaster.c | ||
startup.c | ||
syslogger.c | ||
walwriter.c |