postgresql/src
Tom Lane 60e3aafbbf Fix aboriginal mistake in lazy VACUUM's code for truncating away
no-longer-needed pages at the end of a table.  We thought we could throw away
pages containing HEAPTUPLE_DEAD tuples; but this is not so, because such
tuples very likely have index entries pointing at them, and we wouldn't have
removed the index entries.  The problem only emerges in a somewhat unlikely
race condition: the dead tuples have to have been inserted by a transaction
that later aborted, and this has to have happened between VACUUM's initial
scan of the page and then rechecking it for empty in count_nondeletable_pages.
But that timespan will include an index-cleaning pass, so it's not all that
hard to hit.  This seems to explain a couple of previously unsolved bug
reports.
2007-09-16 02:38:14 +00:00
..
backend Fix aboriginal mistake in lazy VACUUM's code for truncating away 2007-09-16 02:38:14 +00:00
bin Translation updates 2007-09-13 21:04:12 +00:00
corba make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
include Stamp releases 8.2.5, 8.1.10, 8.0.14, 7.4.18, 7.3.20. 2007-09-11 17:36:57 +00:00
interfaces Translation updates 2007-09-13 21:04:12 +00:00
makefiles Remove $(DESTDIR) from the pgxs BE_DLLLIBS= -L path for Darwin. 2006-01-19 21:20:32 +00:00
pl Fix incorrect tests for undef Perl values in some places in plperl.c. 2007-06-28 17:50:24 +00:00
port Stamp releases 8.2.5, 8.1.10, 8.0.14, 7.4.18, 7.3.20. 2007-09-11 17:36:57 +00:00
template Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net 2004-12-29 23:47:40 +00:00
test Repair problems occurring when multiple RI updates have to be done to the same 2007-08-15 19:16:12 +00:00
timezone Sync timezone data with 2007g zic release. 2007-09-11 17:44:01 +00:00
tools Update error message and documentation for fsync test. 2005-11-16 03:44:51 +00:00
tutorial Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4, 2006-05-21 19:57:40 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:13:16 +00:00
DEVELOPERS
Makefile Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
Makefile.global.in Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:16:50 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00