postgresql/src
Heikki Linnakangas e1c26ab853 Fix the truncation logic of the OldSerXid SLRU mechanism. We can't pass
SimpleLruTruncate() a page number that's "in the future", because it will
issue a warning and refuse to truncate anything. Instead, we leave behind
the latest segment. If the slru is not needed before XID wrap-around, the
segment will appear as new again, and not be cleaned up until it gets old
enough again. That's a bit unpleasant, but better than not cleaning up
anything.

Also, fix broken calculation to check and warn if the span of the OldSerXid
SLRU is getting too large to fit in the 64k SLRU pages that we have
available. It was not XID wraparound aware.

Kevin Grittner and me.
2011-06-09 21:39:39 +03:00
..
backend Fix the truncation logic of the OldSerXid SLRU mechanism. We can't pass 2011-06-09 21:39:39 +03:00
bin Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
include Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
interfaces Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
makefiles Rewrite installation makefile rules without for loops 2011-05-02 01:05:08 +03:00
pl Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
port Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
timezone Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
tools Update typedef list for upcoming pgindent run. 2011-06-09 14:01:49 -04: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
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 Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
Makefile.shlib 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