postgresql/src/backend
Tom Lane 2f2baf9299 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:31 +00:00
..
access Fix dynahash.c to suppress hash bucket splits while a hash_seq_search() scan 2007-04-26 23:25:48 +00:00
bootstrap Remove no-longer-needed inclusion of bootstrap_tokens.h, per patch 2002-11-04 14:22:32 +00:00
catalog Support explicit placement of the temporary-table schema within search_path. 2007-04-20 02:38:59 +00:00
commands Fix aboriginal mistake in lazy VACUUM's code for truncating away 2007-09-16 02:38:31 +00:00
executor Repair insufficiently careful type checking for SQL-language functions: 2007-02-02 00:04:16 +00:00
lib pgindent run. 2002-09-04 20:31:48 +00:00
libpq Back-patch 7.4-era fix for memory leak with SSL connections due to 2006-06-23 14:42:52 +00:00
main Arrange to set the LC_XXX environment variables to match our locale setup. 2006-01-05 00:55:36 +00:00
nodes Fix outfuncs.c to dump A_Const nodes representing NULLs correctly. This has 2007-07-17 01:22:25 +00:00
optimizer Fix longstanding bug that would sometimes let the planner generate a bad plan 2005-10-25 20:30:52 +00:00
parser transformColumnDefinition failed to complain about 2007-06-20 18:21:51 +00:00
po Translation updates 2007-09-13 20:49:39 +00:00
port Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). 2007-07-02 20:12:26 +00:00
postmaster Back-patch fix to cause stats processes to detach from shared memory, 2003-11-30 21:56:36 +00:00
regex Fix char-vs-pg_wchar confusion in p_ere(), per failure report from 2003-04-20 17:37:22 +00:00
rewrite Fix markQueryForLocking() to work correctly in the presence of nested views. 2007-03-01 18:51:03 +00:00
storage Fix aboriginal bug in BufFileDumpBuffer that would cause it to write the 2007-06-01 23:43:39 +00:00
tcop Push enable/disable of notify and catchup interrupts all the way down 2005-06-02 21:04:30 +00:00
utils Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the 2007-08-21 02:40:40 +00:00
Makefile > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not 2002-10-09 16:21:54 +00:00
nls.mk Translation updates 2002-12-10 20:00:27 +00:00