aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-05-12 19:21:54 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-05-12 19:21:54 -0400
commit398b240151708d7e971631875760ddbad3a63e0e (patch)
treeb4e226d70e5388d1cc62411e63445999566ada6f /src/backend/access/gist/gistbuild.c
parent7b85527eaee2cdcfc33d9f8c6c8e4a4908f7f58d (diff)
downloadpostgresql-398b240151708d7e971631875760ddbad3a63e0e.tar.gz
postgresql-398b240151708d7e971631875760ddbad3a63e0e.zip
Avoid unnecessary process wakeups in the log collector.
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).
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions