postgresql/src/include/access
Tom Lane 9d37c038fc Repair PANIC condition in hash indexes when a previous index extension attempt
failed (due to lock conflicts or out-of-space).  We might have already
extended the index's filesystem EOF before failing, causing the EOF to be
beyond what the metapage says is the last used page.  Hence the invariant
maintained by the code needs to be "EOF is at or beyond last used page",
not "EOF is exactly the last used page".  Problem was created by my patch
of 2006-11-19 that attempted to repair bug #2737.  Since that was
back-patched to 7.4, this needs to be as well.  Per report and test case
from Vlastimil Krejcir.
2007-04-19 20:24:04 +00:00
..
attnum.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
clog.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
genam.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
gin.h Minor tweaking of index special-space definitions so that the various 2007-04-09 22:04:08 +00:00
gist.h Minor tweaking of index special-space definitions so that the various 2007-04-09 22:04:08 +00:00
gist_private.h Refactor the index AM API slightly: move currentItemData and 2007-01-20 18:43:35 +00:00
gistscan.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
hash.h Repair PANIC condition in hash indexes when a previous index extension attempt 2007-04-19 20:24:04 +00:00
heapam.h Make CLUSTER MVCC-safe. Heikki Linnakangas 2007-04-08 01:26:33 +00:00
hio.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
htup.h Support varlena fields with single-byte headers and unaligned storage. 2007-04-06 04:21:44 +00:00
itup.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
multixact.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
nbtree.h Code review for btree page split WAL reduction patch. Make it actually work 2007-04-11 20:47:38 +00:00
printtup.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
reloptions.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
relscan.h Refactor the index AM API slightly: move currentItemData and 2007-01-20 18:43:35 +00:00
rewriteheap.h Make CLUSTER MVCC-safe. Heikki Linnakangas 2007-04-08 01:26:33 +00:00
rmgr.h Fix recently-understood problems with handling of XID freezing, particularly 2006-11-05 22:42:10 +00:00
sdir.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
skey.h Make 'col IS NULL' clauses be indexable conditions. 2007-04-06 22:33:43 +00:00
slru.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
subtrans.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
transam.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
tupdesc.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
tupmacs.h Support varlena fields with single-byte headers and unaligned storage. 2007-04-06 04:21:44 +00:00
tuptoaster.h Support varlena fields with single-byte headers and unaligned storage. 2007-04-06 04:21:44 +00:00
twophase.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
twophase_rmgr.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
valid.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
xact.h First phase of plan-invalidation project: create a plan cache management 2007-03-13 00:33:44 +00:00
xlog.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
xlog_internal.h Remove undo information from pg_controldata --- never used. 2007-03-03 20:02:27 +00:00
xlogdefs.h Move fsync method macro defines into /include/access/xlogdefs.h so they 2007-02-14 05:00:40 +00:00
xlogutils.h Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00