postgresql/src
Heikki Linnakangas 6d90eaaa89 Make bgwriter sleep longer when it has no work to do, to save electricity.
To make it wake up promptly when activity starts again, backends nudge it
by setting a latch in MarkBufferDirty(). The latch is kept set while
bgwriter is active, so there is very little overhead from that when the
system is busy. It is only armed before going into longer sleep.

Peter Geoghegan, with some changes by me.
2012-01-26 18:39:13 +02:00
..
backend Make bgwriter sleep longer when it has no work to do, to save electricity. 2012-01-26 18:39:13 +02:00
bin Have \copy go through SendQuery 2012-01-25 18:22:00 -03:00
include Make bgwriter sleep longer when it has no work to do, to save electricity. 2012-01-26 18:39:13 +02:00
interfaces Ecpglib stores variables that are used in DECLARE statements in a global list. 2012-01-05 14:08:45 +01:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl Improve efficiency of recent changes to plperl's sv2cstr(). 2012-01-15 16:15:04 -05:00
port Revert binary change in copyright year adjustment. 2012-01-01 19:40:13 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Add deadlock counter to pg_stat_database 2012-01-26 15:58:19 +01:00
timezone Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tools Fix pathname in pgindent README. 2012-01-09 13:31:58 -05:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Sort compendium lists for msgmerge 2011-12-27 20:22:51 +02:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00