aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-24 02:18:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-24 02:18:40 +0000
commitfedb1665495b54bd587d1d396ecfb1f9e7b936ba (patch)
tree0805d85c94189cb9ba58404fbb325baf5aa7689a /src/tutorial/funcs.source
parent2acb2bcbcb91431e7877e5f46292f50b7a4cdf1f (diff)
downloadpostgresql-fedb1665495b54bd587d1d396ecfb1f9e7b936ba.tar.gz
postgresql-fedb1665495b54bd587d1d396ecfb1f9e7b936ba.zip
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.
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions