postgresql/src/include/access
Tom Lane 7fc7a7c4d0 Fix a violation of WAL coding rules in the recent patch to include an
"all tuples visible" flag in heap page headers.  The flag update *must*
be applied before calling XLogInsert, but heap_update and the tuple
moving routines in VACUUM FULL were ignoring this rule.  A crash and
replay could therefore leave the flag incorrectly set, causing rows
to appear visible in seqscans when they should not be.  This might explain
recent reports of data corruption from Jeff Ross and others.

In passing, do a bit of editorialization on comments in visibilitymap.c.
2009-08-24 02:18:32 +00:00
..
attnum.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
clog.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
genam.h Department of second thoughts: let's show the exact key during unique index 2009-08-01 20:59:17 +00:00
gin.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
gist_private.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
gist.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
gistscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
hash.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
heapam.h Fix a violation of WAL coding rules in the recent patch to include an 2009-08-24 02:18:32 +00:00
hio.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
htup.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
itup.h Improve unique-constraint-violation error messages to include the exact 2009-08-01 19:59:41 +00:00
multixact.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
nbtree.h Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
printtup.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
reloptions.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
relscan.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rewriteheap.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
rmgr.h Rethink the way FSM truncation works. Instead of WAL-logging FSM 2008-11-19 10:34:52 +00:00
sdir.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
skey.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
slru.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
subtrans.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
sysattr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
transam.h 'PGDLLIMPORT' ShmemVariableCache, needed for pg_migrator.so function 2009-05-08 03:21:35 +00:00
tupconvert.h Improve plpgsql's ability to cope with rowtypes containing dropped columns, 2009-08-06 20:44:32 +00:00
tupdesc.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tupmacs.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
tuptoaster.h Tweak TOAST code so that columns marked with MAIN storage strategy are 2009-07-22 01:21:22 +00:00
twophase_rmgr.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
twophase.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
valid.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
visibilitymap.h Fix a violation of WAL coding rules in the recent patch to include an 2009-08-24 02:18:32 +00:00
xact.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
xlog_internal.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlog.h Cleanup and code review for the patch that made bgwriter active during 2009-06-26 20:29:04 +00:00
xlogdefs.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
xlogutils.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00