• Tom Lane's avatar
    Avoid unnecessary process wakeups in the log collector. · 398b2401
    Tom Lane authored
    syslogger was coded to wake up once per second whether there was anything
    useful to do or not.  As part of our campaign to reduce the server's idle
    power consumption, change it to use a latch for waiting.  Now, in the
    absence of any data to log or any signals to service, it will only wake up
    at the programmed logfile rotation times (if any).
    398b2401
syslogger.c 34 KB