postgresql/src
Robert Haas 7f242d880b Try to avoid running with a full fsync request queue.
When we need to insert a new entry and the queue is full, compact the
entire queue in the hopes of making room for the new entry.  Doing this
on every insertion might worsen contention on BgWriterCommLock, but
when the queue it's full, it's far better than allowing the backend to
perform its own fsync, per testing by Greg Smith as reported in
http://archives.postgresql.org/pgsql-hackers/2011-01/msg02665.php

Original idea from Greg Smith.  Patch by me.  Review by Chris Browne
and Greg Smith
2011-01-29 08:08:41 -05:00
..
backend Try to avoid running with a full fsync request queue. 2011-01-29 08:08:41 -05:00
bin Update psql's \copyright to match the text we have in the COPYRIGHT file. 2011-01-27 20:20:49 +02:00
include autoreconf 2011-01-27 01:19:45 +02:00
interfaces There is no need to have to identical functions in ecpg thus removing one of them. 2011-01-09 12:47:43 +01:00
makefiles Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pl Do not prefix error messages with the string "PL/Python: " 2011-01-27 01:00:58 +02:00
port Add pgreadlink() on Windows to read junction points 2011-01-09 15:09:19 +01:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Restore ALTER TABLE .. ADD COLUMN w/DEFAULT restriction. 2011-01-27 08:35:34 -05:00
timezone Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
tools Exclude sepgsql from MSVC regression testing as well 2011-01-24 08:24:31 +01:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +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 Additional fixes for parallel make 2010-11-17 08:08:41 +02:00
Makefile.global.in sepgsql, an SE-Linux integration for PostgreSQL 2011-01-23 20:48:27 -05:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00